| java.lang.Object org.objectweb.celtix.bus.ws.addressing.VersionTransformer org.objectweb.celtix.bus.ws.addressing.soap.VersionTransformer
VersionTransformer | public class VersionTransformer extends org.objectweb.celtix.bus.ws.addressing.VersionTransformer (Code) | | This class is responsible for transforming between the native
WS-Addressing schema version (i.e. 2005/08) and exposed
version (currently may be 2005/08 or 2004/08).
The native version is that used throughout the stack, were the
WS-A types are represented via the JAXB generated types for the
2005/08 schema.
The exposed version is that used when the WS-A types are
externalized, i.e. are encoded in the headers of outgoing
messages. For outgoing requests, the exposed version is
determined from configuration. For outgoing responses, the
exposed version is determined by the exposed version of
the corresponding request.
The motivation for using different native and exposed types
is usually to facilitate a WS-* standard based on an earlier
version of WS-Adressing (for example WS-RM depends on the
2004/08 version).
|
Inner Class :final public static class Names200408 extends org.objectweb.celtix.bus.ws.addressing.VersionTransformer.Names200408 | |
VersionTransformer | public VersionTransformer(MAPCodec mapCodec)(Code) | | Constructor.
Parameters: mapCodec - the MAPCodec to use |
decodeAsNative | public T decodeAsNative(String encodedAs, Class<T> clz, SOAPHeaderElement headerElement, Unmarshaller unmarshaller) throws JAXBException(Code) | | Decodes a MAP from a exposed version.
Parameters: encodedAs - specifies the encoded version Parameters: clz - the class Parameters: headerElement - the SOAP header element Parameters: marshaller - the JAXB marshaller to use the decoded value |
encodeAsExposed | public void encodeAsExposed(String exposeAs, T value, String localName, Class<T> clz, SOAPHeader header, Marshaller marshaller) throws JAXBException(Code) | | Encode message in exposed version.
Parameters: exposeAs - specifies the WS-Addressing version to expose Parameters: value - the value to encode Parameters: localName - the localName for the header Parameters: clz - the class Parameters: header - the SOAP header Parameters: marshaller - the JAXB marshaller to use |
Fields inherited from org.objectweb.celtix.bus.ws.addressing.VersionTransformer | final protected static String NATIVE_VERSION(Code)(Java Doc)
|
Methods inherited from org.objectweb.celtix.bus.ws.addressing.VersionTransformer | public static AttributedURI convert(AttributedURIType internal)(Code)(Java Doc) public static AttributedURIType convert(AttributedURI exposed)(Code)(Java Doc) public static org.objectweb.celtix.ws.addressing.v200408.EndpointReferenceType convert(EndpointReferenceType internal)(Code)(Java Doc) public static EndpointReferenceType convert(org.objectweb.celtix.ws.addressing.v200408.EndpointReferenceType exposed)(Code)(Java Doc) public static org.objectweb.celtix.ws.addressing.v200408.ReferenceParametersType convert(ReferenceParametersType internal)(Code)(Java Doc) public static ReferenceParametersType convert(org.objectweb.celtix.ws.addressing.v200408.ReferenceParametersType exposed)(Code)(Java Doc) public static Relationship convert(RelatesToType internal)(Code)(Java Doc) public static RelatesToType convert(Relationship exposed)(Code)(Java Doc) public static JAXBContext getExposedJAXBContext(String exposedURI) throws JAXBException(Code)(Java Doc) public boolean isSupported(String namespace)(Code)(Java Doc)
|
|
|