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