Package com.sun.xml.ws.db.glassfish
Class MarshallerBridge
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
ConstructorsModifierConstructorDescriptionprotectedMarshallerBridge(org.glassfish.jaxb.runtime.v2.runtime.JAXBContextImpl context) -
Method Summary
Modifier and TypeMethodDescriptioncontext()Gets theBindingContextto which this object belongs.Gets theTypeInfofrom which this bridge was created.org.glassfish.jaxb.runtime.api.TypeReferencevoidmarshal(jakarta.xml.bind.Marshaller m, Object object, OutputStream output, NamespaceContext nsContext) voidmarshal(jakarta.xml.bind.Marshaller m, Object object, XMLStreamWriter output) voidvoidvoidmarshal(jakarta.xml.bind.Marshaller m, Object object, ContentHandler contentHandler) booleanThis 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:
marshalin 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:
marshalin 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:
marshalin 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:
marshalin 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:
marshalin classorg.glassfish.jaxb.runtime.api.Bridge- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
- Specified by:
unmarshalin classorg.glassfish.jaxb.runtime.api.Bridge
-
unmarshal
- Specified by:
unmarshalin classorg.glassfish.jaxb.runtime.api.Bridge
-
unmarshal
- Specified by:
unmarshalin classorg.glassfish.jaxb.runtime.api.Bridge
-
unmarshal
- Specified by:
unmarshalin classorg.glassfish.jaxb.runtime.api.Bridge
-
getTypeInfo
Description copied from interface:XMLBridgeGets theTypeInfofrom which this bridge was created.- Specified by:
getTypeInfoin interfaceXMLBridge
-
getTypeReference
public org.glassfish.jaxb.runtime.api.TypeReference getTypeReference()- Specified by:
getTypeReferencein classorg.glassfish.jaxb.runtime.api.Bridge
-
context
Description copied from interface:XMLBridgeGets theBindingContextto which this object belongs. -
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- Returns:
- true if marshall to OutputStream is supported in the implementation.
-