Package com.sun.xml.ws.spi.db
Class WrapperBridge<T>
java.lang.Object
com.sun.xml.ws.spi.db.WrapperBridge<T>
- All Implemented Interfaces:
XMLBridge<T>
WrapperBridge handles RPC-Literal body and Document-Literal wrappers without static
wrapper classes.
- Author:
- shih-chang.chen@oracle.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontext()Gets theBindingContextto which this object belongs.Gets theTypeInfofrom which this bridge was created.voidmarshal(T object, OutputStream output, NamespaceContext nsContext, jakarta.xml.bind.attachment.AttachmentMarshaller am) final voidmarshal(T object, XMLStreamWriter output, jakarta.xml.bind.attachment.AttachmentMarshaller am) final voidvoidfinal voidmarshal(T object, ContentHandler contentHandler, jakarta.xml.bind.attachment.AttachmentMarshaller am) booleanThis can be used to determine whether XMLStreamWriter or OutputStream is prefered by the implementation.final Tunmarshal(InputStream in) Unmarshals the specified type object.final Tunmarshal(XMLStreamReader in, jakarta.xml.bind.attachment.AttachmentUnmarshaller au) final Tfinal T
-
Constructor Details
-
WrapperBridge
-
-
Method Details
-
context
Description copied from interface:XMLBridgeGets theBindingContextto which this object belongs. -
getTypeInfo
Description copied from interface:XMLBridgeGets theTypeInfofrom which this bridge was created.- Specified by:
getTypeInfoin interfaceXMLBridge<T>
-
marshal
public final void marshal(T object, ContentHandler contentHandler, jakarta.xml.bind.attachment.AttachmentMarshaller am) throws jakarta.xml.bind.JAXBException -
marshal
-
marshal
public void marshal(T object, OutputStream output, NamespaceContext nsContext, jakarta.xml.bind.attachment.AttachmentMarshaller am) throws jakarta.xml.bind.JAXBException -
marshal
-
marshal
public final void marshal(T object, XMLStreamWriter output, jakarta.xml.bind.attachment.AttachmentMarshaller am) throws jakarta.xml.bind.JAXBException -
unmarshal
Description copied from interface:XMLBridgeUnmarshals the specified type object. -
unmarshal
-
unmarshal
-
unmarshal
public final T unmarshal(XMLStreamReader in, jakarta.xml.bind.attachment.AttachmentUnmarshaller au) throws jakarta.xml.bind.JAXBException -
supportOutputStream
public boolean supportOutputStream()Description copied from interface:XMLBridgeThis can be used to determine whether XMLStreamWriter or OutputStream is prefered by the implementation.- Specified by:
supportOutputStreamin interfaceXMLBridge<T>- Returns:
- true if marshall to OutputStream is supported in the implementation.
-