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
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMarshallerBridge(JAXBContextImpl context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BindingContextcontext()Gets theBindingContextto which this object belongs.TypeInfogetTypeInfo()Gets theTypeInfofrom which this bridge was created.TypeReferencegetTypeReference()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)voidmarshal(javax.xml.bind.Marshaller m, Object object, Result result)voidmarshal(javax.xml.bind.Marshaller m, Object object, Node output)voidmarshal(javax.xml.bind.Marshaller m, Object object, ContentHandler contentHandler)booleansupportOutputStream()This can be used to determine whether XMLStreamWriter or OutputStream is prefered by the implementation.Objectunmarshal(javax.xml.bind.Unmarshaller u, InputStream in)Objectunmarshal(javax.xml.bind.Unmarshaller u, XMLStreamReader in)Objectunmarshal(javax.xml.bind.Unmarshaller u, Source in)Objectunmarshal(javax.xml.bind.Unmarshaller u, Node n)-
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 Detail
-
MarshallerBridge
protected MarshallerBridge(JAXBContextImpl context)
-
-
Method Detail
-
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
public void marshal(javax.xml.bind.Marshaller m, Object object, Node output) throws javax.xml.bind.JAXBException
-
marshal
public void marshal(javax.xml.bind.Marshaller m, Object object, ContentHandler contentHandler) throws javax.xml.bind.JAXBException
-
marshal
public void marshal(javax.xml.bind.Marshaller m, Object object, Result result) throws javax.xml.bind.JAXBException
-
unmarshal
public Object unmarshal(javax.xml.bind.Unmarshaller u, XMLStreamReader in)
-
unmarshal
public Object unmarshal(javax.xml.bind.Unmarshaller u, InputStream in)
-
getTypeInfo
public TypeInfo getTypeInfo()
Description copied from interface:XMLBridgeGets theTypeInfofrom which this bridge was created.- Specified by:
getTypeInfoin interfaceXMLBridge
-
getTypeReference
public TypeReference getTypeReference()
Description copied from class:BridgeGets theTypeReferencefrom which this bridge was created.- Specified by:
getTypeReferencein classBridge
-
context
public BindingContext 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.
-
-