- java.lang.Object
-
- com.sun.xml.ws.db.glassfish.BridgeWrapper<T>
-
-
Constructor Summary
Constructors Constructor Description BridgeWrapper(com.sun.xml.ws.db.glassfish.JAXBRIContextWrapper p, com.sun.xml.bind.api.Bridge<T> b)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BindingContextcontext()Gets theBindingContextto which this object belongs.booleanequals(Object obj)com.sun.xml.bind.api.JAXBRIContextgetContext()TypeInfogetTypeInfo()Gets theTypeInfofrom which this bridge was created.inthashCode()voidmarshal(Marshaller m, T object, OutputStream output, NamespaceContext nsContext)voidmarshal(Marshaller m, T object, XMLStreamWriter output)voidmarshal(Marshaller m, T object, Result result)voidmarshal(Marshaller m, T object, Node output)voidmarshal(Marshaller m, T object, ContentHandler contentHandler)voidmarshal(T object, OutputStream output, NamespaceContext nsContext)voidmarshal(T object, OutputStream output, NamespaceContext nsContext, AttachmentMarshaller am)voidmarshal(T object, XMLStreamWriter output)voidmarshal(T object, XMLStreamWriter output, AttachmentMarshaller am)voidmarshal(T object, Result result)voidmarshal(T object, Node output)voidmarshal(T object, ContentHandler contentHandler)voidmarshal(T object, ContentHandler contentHandler, AttachmentMarshaller am)booleansupportOutputStream()This can be used to determine whether XMLStreamWriter or OutputStream is prefered by the implementation.StringtoString()Tunmarshal(InputStream in)Unmarshals the specified type object.Tunmarshal(Unmarshaller u, InputStream in)Tunmarshal(Unmarshaller u, XMLStreamReader in)Tunmarshal(Unmarshaller u, Source in)Tunmarshal(Unmarshaller context, Node n)Tunmarshal(XMLStreamReader in)Tunmarshal(XMLStreamReader in, AttachmentUnmarshaller au)Tunmarshal(Source in)Tunmarshal(Source in, AttachmentUnmarshaller au)Tunmarshal(Node n)Tunmarshal(Node n, AttachmentUnmarshaller au)
-
-
-
Constructor Detail
-
BridgeWrapper
public BridgeWrapper(com.sun.xml.ws.db.glassfish.JAXBRIContextWrapper p, com.sun.xml.bind.api.Bridge<T> b)
-
-
Method Detail
-
context
public BindingContext context()
Description copied from interface:XMLBridgeGets theBindingContextto which this object belongs.
-
getContext
public com.sun.xml.bind.api.JAXBRIContext getContext()
-
getTypeInfo
public TypeInfo getTypeInfo()
Description copied from interface:XMLBridgeGets theTypeInfofrom which this bridge was created.- Specified by:
getTypeInfoin interfaceXMLBridge<T>
-
marshal
public void marshal(Marshaller m, T object, ContentHandler contentHandler) throws JAXBException
- Throws:
JAXBException
-
marshal
public void marshal(Marshaller m, T object, Node output) throws JAXBException
- Throws:
JAXBException
-
marshal
public void marshal(Marshaller m, T object, OutputStream output, NamespaceContext nsContext) throws JAXBException
- Throws:
JAXBException
-
marshal
public void marshal(Marshaller m, T object, Result result) throws JAXBException
- Throws:
JAXBException
-
marshal
public void marshal(Marshaller m, T object, XMLStreamWriter output) throws JAXBException
- Throws:
JAXBException
-
marshal
public final void marshal(T object, ContentHandler contentHandler, AttachmentMarshaller am) throws JAXBException
- Specified by:
marshalin interfaceXMLBridge<T>- Throws:
JAXBException
-
marshal
public void marshal(T object, ContentHandler contentHandler) throws JAXBException
- Throws:
JAXBException
-
marshal
public void marshal(T object, Node output) throws JAXBException
- Specified by:
marshalin interfaceXMLBridge<T>- Throws:
JAXBException
-
marshal
public void marshal(T object, OutputStream output, NamespaceContext nsContext, AttachmentMarshaller am) throws JAXBException
- Specified by:
marshalin interfaceXMLBridge<T>- Throws:
JAXBException
-
marshal
public void marshal(T object, OutputStream output, NamespaceContext nsContext) throws JAXBException
- Throws:
JAXBException
-
marshal
public final void marshal(T object, Result result) throws JAXBException
- Specified by:
marshalin interfaceXMLBridge<T>- Throws:
JAXBException
-
marshal
public final void marshal(T object, XMLStreamWriter output, AttachmentMarshaller am) throws JAXBException
- Specified by:
marshalin interfaceXMLBridge<T>- Throws:
JAXBException- if there was an error while marshalling.
-
marshal
public final void marshal(T object, XMLStreamWriter output) throws JAXBException
- Throws:
JAXBException
-
unmarshal
public final T unmarshal(InputStream in) throws JAXBException
Description copied from interface:XMLBridgeUnmarshals the specified type object.- Specified by:
unmarshalin interfaceXMLBridge<T>- Parameters:
in- the parser must be pointing at a start tag that encloses the XML type that thisXMLBridgeis instanciated for.- Returns:
- never null.
- Throws:
JAXBException- if there was an error while unmarshalling.
-
unmarshal
public final T unmarshal(Node n, AttachmentUnmarshaller au) throws JAXBException
- Specified by:
unmarshalin interfaceXMLBridge<T>- Throws:
JAXBException
-
unmarshal
public final T unmarshal(Node n) throws JAXBException
- Throws:
JAXBException
-
unmarshal
public final T unmarshal(Source in, AttachmentUnmarshaller au) throws JAXBException
- Specified by:
unmarshalin interfaceXMLBridge<T>- Throws:
JAXBException
-
unmarshal
public final T unmarshal(Source in) throws DatabindingException
- Throws:
DatabindingException
-
unmarshal
public T unmarshal(Unmarshaller u, InputStream in) throws JAXBException
- Throws:
JAXBException
-
unmarshal
public T unmarshal(Unmarshaller context, Node n) throws JAXBException
- Throws:
JAXBException
-
unmarshal
public T unmarshal(Unmarshaller u, Source in) throws JAXBException
- Throws:
JAXBException
-
unmarshal
public T unmarshal(Unmarshaller u, XMLStreamReader in) throws JAXBException
- Throws:
JAXBException
-
unmarshal
public final T unmarshal(XMLStreamReader in, AttachmentUnmarshaller au) throws JAXBException
- Specified by:
unmarshalin interfaceXMLBridge<T>- Throws:
JAXBException
-
unmarshal
public final T unmarshal(XMLStreamReader in) throws JAXBException
- Throws:
JAXBException
-
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<T>- Returns:
- true if marshall to OutputStream is supported in the implementation.
-
-