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:
- [email protected]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontext()
Gets theBindingContext
to which this object belongs.Gets theTypeInfo
from which this bridge was created.void
marshal
(T object, OutputStream output, NamespaceContext nsContext, jakarta.xml.bind.attachment.AttachmentMarshaller am) final void
marshal
(T object, XMLStreamWriter output, jakarta.xml.bind.attachment.AttachmentMarshaller am) final void
void
final void
marshal
(T object, ContentHandler contentHandler, jakarta.xml.bind.attachment.AttachmentMarshaller am) boolean
This can be used to determine whether XMLStreamWriter or OutputStream is prefered by the implementation.final T
unmarshal
(InputStream in) Unmarshals the specified type object.final T
unmarshal
(XMLStreamReader in, jakarta.xml.bind.attachment.AttachmentUnmarshaller au) final T
final T
-
Constructor Details
-
WrapperBridge
-
-
Method Details
-
context
Description copied from interface:XMLBridge
Gets theBindingContext
to which this object belongs. -
getTypeInfo
Description copied from interface:XMLBridge
Gets theTypeInfo
from which this bridge was created.- Specified by:
getTypeInfo
in 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:XMLBridge
Unmarshals 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:XMLBridge
This can be used to determine whether XMLStreamWriter or OutputStream is prefered by the implementation.- Specified by:
supportOutputStream
in interfaceXMLBridge<T>
- Returns:
- true if marshall to OutputStream is supported in the implementation.
-