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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontext()Gets theBindingContextto which this object belongs.Gets theTypeInfofrom which this bridge was created.Gets theTypeReferencefrom which this bridge was created.voidmarshal(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
-
-
Method Details
-
marshal
public void marshal(javax.xml.bind.Marshaller m, Object object, XMLStreamWriter output) 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 -
marshal
-
marshal
public void marshal(javax.xml.bind.Marshaller m, Object object, ContentHandler contentHandler) throws javax.xml.bind.JAXBException -
marshal
-
unmarshal
-
unmarshal
-
unmarshal
-
unmarshal
-
getTypeInfo
Description copied from interface:XMLBridgeGets theTypeInfofrom which this bridge was created.- Specified by:
getTypeInfoin interfaceXMLBridge
-
getTypeReference
Description copied from class:BridgeGets theTypeReferencefrom which this bridge was created.- Specified by:
getTypeReferencein classBridge
-
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.
-