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(javax.xml.bind.Marshaller m, T object, OutputStream output, NamespaceContext nsContext) voidmarshal(javax.xml.bind.Marshaller m, T object, XMLStreamWriter output) voidvoidvoidmarshal(javax.xml.bind.Marshaller m, T object, ContentHandler contentHandler) voidmarshal(T object, OutputStream output, NamespaceContext nsContext) voidmarshal(T object, OutputStream output, NamespaceContext nsContext, javax.xml.bind.attachment.AttachmentMarshaller am) final voidmarshal(T object, XMLStreamWriter output) final voidmarshal(T object, XMLStreamWriter output, javax.xml.bind.attachment.AttachmentMarshaller am) final voidvoidvoidmarshal(T object, ContentHandler contentHandler) final 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.unmarshal(javax.xml.bind.Unmarshaller u, InputStream in) unmarshal(javax.xml.bind.Unmarshaller u, XMLStreamReader in) final Tfinal Tunmarshal(XMLStreamReader in, javax.xml.bind.attachment.AttachmentUnmarshaller au) final Tfinal Tfinal Tfinal T
-
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
public void marshal(javax.xml.bind.Marshaller m, T object, ContentHandler contentHandler) throws javax.xml.bind.JAXBException - Throws:
javax.xml.bind.JAXBException
-
marshal
public void marshal(javax.xml.bind.Marshaller m, T object, Node output) throws javax.xml.bind.JAXBException - Throws:
javax.xml.bind.JAXBException
-
marshal
public void marshal(javax.xml.bind.Marshaller m, T object, OutputStream output, NamespaceContext nsContext) throws javax.xml.bind.JAXBException - Throws:
javax.xml.bind.JAXBException
-
marshal
public void marshal(javax.xml.bind.Marshaller m, T object, Result result) throws javax.xml.bind.JAXBException - Throws:
javax.xml.bind.JAXBException
-
marshal
public void marshal(javax.xml.bind.Marshaller m, T object, XMLStreamWriter output) throws javax.xml.bind.JAXBException - Throws:
javax.xml.bind.JAXBException
-
marshal
public final void marshal(T object, ContentHandler contentHandler, javax.xml.bind.attachment.AttachmentMarshaller am) throws javax.xml.bind.JAXBException -
marshal
- 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
public void marshal(T object, OutputStream output, NamespaceContext nsContext) throws javax.xml.bind.JAXBException - 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 -
marshal
- Throws:
javax.xml.bind.JAXBException
-
toString
-
unmarshal
Description copied from interface:XMLBridgeUnmarshals the specified type object. -
unmarshal
-
unmarshal
- Throws:
javax.xml.bind.JAXBException
-
unmarshal
-
unmarshal
- Throws:
DatabindingException
-
unmarshal
public T unmarshal(javax.xml.bind.Unmarshaller u, InputStream in) throws javax.xml.bind.JAXBException - Throws:
javax.xml.bind.JAXBException
-
unmarshal
- Throws:
javax.xml.bind.JAXBException
-
unmarshal
- Throws:
javax.xml.bind.JAXBException
-
unmarshal
public T unmarshal(javax.xml.bind.Unmarshaller u, XMLStreamReader in) throws javax.xml.bind.JAXBException - Throws:
javax.xml.bind.JAXBException
-
unmarshal
public final T unmarshal(XMLStreamReader in, javax.xml.bind.attachment.AttachmentUnmarshaller au) throws javax.xml.bind.JAXBException -
unmarshal
- 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.
-