java.lang.Object
org.glassfish.jaxb.runtime.api.Bridge
com.sun.xml.ws.db.glassfish.MarshallerBridge
- All Implemented Interfaces:
XMLBridge
-
Field Summary
Fields inherited from class org.glassfish.jaxb.runtime.api.Bridge
context
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
MarshallerBridge
(org.glassfish.jaxb.runtime.v2.runtime.JAXBContextImpl context) -
Method Summary
Modifier and TypeMethodDescriptioncontext()
Gets theBindingContext
to which this object belongs.Gets theTypeInfo
from which this bridge was created.org.glassfish.jaxb.runtime.api.TypeReference
void
marshal
(jakarta.xml.bind.Marshaller m, Object object, OutputStream output, NamespaceContext nsContext) void
marshal
(jakarta.xml.bind.Marshaller m, Object object, XMLStreamWriter output) void
void
void
marshal
(jakarta.xml.bind.Marshaller m, Object object, ContentHandler contentHandler) boolean
This can be used to determine whether XMLStreamWriter or OutputStream is prefered by the implementation.unmarshal
(jakarta.xml.bind.Unmarshaller u, InputStream in) unmarshal
(jakarta.xml.bind.Unmarshaller u, XMLStreamReader in) Methods inherited from class org.glassfish.jaxb.runtime.api.Bridge
getContext, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal
-
Constructor Details
-
MarshallerBridge
protected MarshallerBridge(org.glassfish.jaxb.runtime.v2.runtime.JAXBContextImpl context)
-
-
Method Details
-
marshal
public void marshal(jakarta.xml.bind.Marshaller m, Object object, XMLStreamWriter output) throws jakarta.xml.bind.JAXBException - Specified by:
marshal
in classorg.glassfish.jaxb.runtime.api.Bridge
- Throws:
jakarta.xml.bind.JAXBException
-
marshal
public void marshal(jakarta.xml.bind.Marshaller m, Object object, OutputStream output, NamespaceContext nsContext) throws jakarta.xml.bind.JAXBException - Specified by:
marshal
in classorg.glassfish.jaxb.runtime.api.Bridge
- Throws:
jakarta.xml.bind.JAXBException
-
marshal
public void marshal(jakarta.xml.bind.Marshaller m, Object object, Node output) throws jakarta.xml.bind.JAXBException - Specified by:
marshal
in classorg.glassfish.jaxb.runtime.api.Bridge
- Throws:
jakarta.xml.bind.JAXBException
-
marshal
public void marshal(jakarta.xml.bind.Marshaller m, Object object, ContentHandler contentHandler) throws jakarta.xml.bind.JAXBException - Specified by:
marshal
in classorg.glassfish.jaxb.runtime.api.Bridge
- Throws:
jakarta.xml.bind.JAXBException
-
marshal
public void marshal(jakarta.xml.bind.Marshaller m, Object object, Result result) throws jakarta.xml.bind.JAXBException - Specified by:
marshal
in classorg.glassfish.jaxb.runtime.api.Bridge
- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
- Specified by:
unmarshal
in classorg.glassfish.jaxb.runtime.api.Bridge
-
unmarshal
- Specified by:
unmarshal
in classorg.glassfish.jaxb.runtime.api.Bridge
-
unmarshal
- Specified by:
unmarshal
in classorg.glassfish.jaxb.runtime.api.Bridge
-
unmarshal
- Specified by:
unmarshal
in classorg.glassfish.jaxb.runtime.api.Bridge
-
getTypeInfo
Description copied from interface:XMLBridge
Gets theTypeInfo
from which this bridge was created.- Specified by:
getTypeInfo
in interfaceXMLBridge
-
getTypeReference
public org.glassfish.jaxb.runtime.api.TypeReference getTypeReference()- Specified by:
getTypeReference
in classorg.glassfish.jaxb.runtime.api.Bridge
-
context
Description copied from interface:XMLBridge
Gets theBindingContext
to which this object belongs. -
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
- Returns:
- true if marshall to OutputStream is supported in the implementation.
-