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, com.sun.xml.bind.api.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, javax.xml.bind.attachment.AttachmentMarshaller am) final voidmarshal(T object, XMLStreamWriter output, javax.xml.bind.attachment.AttachmentMarshaller am) final voidvoidfinal voidmarshal(T object, ContentHandler contentHandler, javax.xml.bind.attachment.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 Tunmarshal(XMLStreamReader in, javax.xml.bind.attachment.AttachmentUnmarshaller au) final Tfinal T
-
Constructor Details
-
WrapperBridge
public WrapperBridge(com.sun.xml.ws.db.glassfish.JAXBRIContextWrapper p, com.sun.xml.bind.api.Bridge<T> b)
-
-
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, javax.xml.bind.attachment.AttachmentMarshaller am) throws javax.xml.bind.JAXBException -
marshal
-
marshal
public void marshal(T object, OutputStream output, NamespaceContext nsContext, javax.xml.bind.attachment.AttachmentMarshaller am) throws javax.xml.bind.JAXBException -
marshal
-
marshal
public final void marshal(T object, XMLStreamWriter output, javax.xml.bind.attachment.AttachmentMarshaller am) throws javax.xml.bind.JAXBException -
toString
-
unmarshal
Description copied from interface:XMLBridgeUnmarshals the specified type object. -
unmarshal
-
unmarshal
-
unmarshal
public final T unmarshal(XMLStreamReader in, javax.xml.bind.attachment.AttachmentUnmarshaller au) throws javax.xml.bind.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.
-