Package com.sun.xml.ws.db.glassfish
Class MarshallerBridge
java.lang.Object
com.sun.xml.bind.api.Bridge
com.sun.xml.ws.db.glassfish.MarshallerBridge
- All Implemented Interfaces:
XMLBridge
-
Field Summary
Fields inherited from class com.sun.xml.bind.api.Bridge
context -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMarshallerBridge(com.sun.xml.bind.v2.runtime.JAXBContextImpl context) -
Method Summary
Modifier and TypeMethodDescriptioncontext()Gets theBindingContextto which this object belongs.Gets theTypeInfofrom which this bridge was created.com.sun.xml.bind.api.TypeReferencevoidmarshal(javax.xml.bind.Marshaller m, Object object, OutputStream output, NamespaceContext nsContext) voidmarshal(javax.xml.bind.Marshaller m, Object object, XMLStreamWriter output) voidvoidvoidmarshal(javax.xml.bind.Marshaller m, Object object, ContentHandler contentHandler) booleanThis can be used to determine whether XMLStreamWriter or OutputStream is prefered by the implementation.unmarshal(javax.xml.bind.Unmarshaller u, InputStream in) unmarshal(javax.xml.bind.Unmarshaller u, XMLStreamReader in) Methods inherited from class com.sun.xml.bind.api.Bridge
getContext, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal
-
Constructor Details
-
MarshallerBridge
protected MarshallerBridge(com.sun.xml.bind.v2.runtime.JAXBContextImpl context)
-
-
Method Details
-
marshal
public void marshal(javax.xml.bind.Marshaller m, Object object, XMLStreamWriter output) throws javax.xml.bind.JAXBException - Specified by:
marshalin classcom.sun.xml.bind.api.Bridge- Throws:
javax.xml.bind.JAXBException
-
marshal
public void marshal(javax.xml.bind.Marshaller m, Object object, OutputStream output, NamespaceContext nsContext) throws javax.xml.bind.JAXBException - Specified by:
marshalin classcom.sun.xml.bind.api.Bridge- Throws:
javax.xml.bind.JAXBException
-
marshal
public void marshal(javax.xml.bind.Marshaller m, Object object, Node output) throws javax.xml.bind.JAXBException - Specified by:
marshalin classcom.sun.xml.bind.api.Bridge- Throws:
javax.xml.bind.JAXBException
-
marshal
public void marshal(javax.xml.bind.Marshaller m, Object object, ContentHandler contentHandler) throws javax.xml.bind.JAXBException - Specified by:
marshalin classcom.sun.xml.bind.api.Bridge- Throws:
javax.xml.bind.JAXBException
-
marshal
public void marshal(javax.xml.bind.Marshaller m, Object object, Result result) throws javax.xml.bind.JAXBException - Specified by:
marshalin classcom.sun.xml.bind.api.Bridge- Throws:
javax.xml.bind.JAXBException
-
unmarshal
- Specified by:
unmarshalin classcom.sun.xml.bind.api.Bridge
-
unmarshal
- Specified by:
unmarshalin classcom.sun.xml.bind.api.Bridge
-
unmarshal
- Specified by:
unmarshalin classcom.sun.xml.bind.api.Bridge
-
unmarshal
- Specified by:
unmarshalin classcom.sun.xml.bind.api.Bridge
-
getTypeInfo
Description copied from interface:XMLBridgeGets theTypeInfofrom which this bridge was created.- Specified by:
getTypeInfoin interfaceXMLBridge
-
getTypeReference
public com.sun.xml.bind.api.TypeReference getTypeReference()- Specified by:
getTypeReferencein classcom.sun.xml.bind.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.
-