Package com.sun.xml.ws.db.glassfish
Class BridgeWrapper<T>
java.lang.Object
com.sun.xml.ws.db.glassfish.BridgeWrapper<T>
- All Implemented Interfaces:
XMLBridge<T>
-
Constructor Summary
ConstructorsConstructorDescriptionBridgeWrapper(com.sun.xml.ws.db.glassfish.JAXBRIContextWrapper p, Bridge<T> b) -
Method Summary
Modifier and TypeMethodDescriptioncontext()Gets theBindingContextto which this object belongs.booleanGets 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) final voidmarshal(T object, XMLStreamWriter output) final voidmarshal(T object, XMLStreamWriter output, AttachmentMarshaller am) final voidvoidvoidmarshal(T object, ContentHandler contentHandler) final voidmarshal(T object, ContentHandler contentHandler, AttachmentMarshaller am) booleanThis can be used to determine whether XMLStreamWriter or OutputStream is prefered by the implementation.toString()unmarshal(Unmarshaller u, InputStream in) unmarshal(Unmarshaller u, XMLStreamReader in) unmarshal(Unmarshaller u, Source in) unmarshal(Unmarshaller context, Node n) final Tunmarshal(InputStream in) Unmarshals the specified type object.final Tfinal Tfinal Tfinal Tunmarshal(Source in, AttachmentUnmarshaller au) final Tfinal Tunmarshal(Node n, AttachmentUnmarshaller au)
-
Constructor Details
-
BridgeWrapper
-
-
Method Details
-
context
Description copied from interface:XMLBridgeGets theBindingContextto which this object belongs. -
equals
-
getContext
-
getTypeInfo
Description copied from interface:XMLBridgeGets theTypeInfofrom which this bridge was created.- Specified by:
getTypeInfoin interfaceXMLBridge<T>
-
hashCode
public int hashCode() -
marshal
- Throws:
JAXBException
-
marshal
- Throws:
JAXBException
-
marshal
public void marshal(Marshaller m, T object, OutputStream output, NamespaceContext nsContext) throws JAXBException - Throws:
JAXBException
-
marshal
- Throws:
JAXBException
-
marshal
- Throws:
JAXBException
-
marshal
public final void marshal(T object, ContentHandler contentHandler, AttachmentMarshaller am) throws JAXBException - Specified by:
marshalin interfaceXMLBridge<T>- Throws:
JAXBException
-
marshal
- Throws:
JAXBException
-
marshal
- 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
- Throws:
JAXBException
-
marshal
- 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
-
marshal
- Throws:
JAXBException
-
toString
-
unmarshal
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
- Specified by:
unmarshalin interfaceXMLBridge<T>- Throws:
JAXBException
-
unmarshal
- Throws:
JAXBException
-
unmarshal
- Specified by:
unmarshalin interfaceXMLBridge<T>- Throws:
JAXBException
-
unmarshal
- Throws:
DatabindingException
-
unmarshal
- Throws:
JAXBException
-
unmarshal
- Throws:
JAXBException
-
unmarshal
- Throws:
JAXBException
-
unmarshal
- Throws:
JAXBException
-
unmarshal
- Specified by:
unmarshalin interfaceXMLBridge<T>- Throws:
JAXBException
-
unmarshal
- 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.
-