Package com.sun.xml.ws.db.glassfish
Class BridgeWrapper<T>
- 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, org.glassfish.jaxb.runtime.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)org.glassfish.jaxb.runtime.api.JAXBRIContextgetContext()TypeInfogetTypeInfo()Gets theTypeInfofrom which this bridge was created.inthashCode()voidmarshal(jakarta.xml.bind.Marshaller m, T object, OutputStream output, NamespaceContext nsContext)voidmarshal(jakarta.xml.bind.Marshaller m, T object, XMLStreamWriter output)voidmarshal(jakarta.xml.bind.Marshaller m, T object, Result result)voidmarshal(jakarta.xml.bind.Marshaller m, T object, Node output)voidmarshal(jakarta.xml.bind.Marshaller m, T object, ContentHandler contentHandler)voidmarshal(T object, OutputStream output, NamespaceContext nsContext)voidmarshal(T object, OutputStream output, NamespaceContext nsContext, jakarta.xml.bind.attachment.AttachmentMarshaller am)voidmarshal(T object, XMLStreamWriter output)voidmarshal(T object, XMLStreamWriter output, jakarta.xml.bind.attachment.AttachmentMarshaller am)voidmarshal(T object, Result result)voidmarshal(T object, Node output)voidmarshal(T object, ContentHandler contentHandler)voidmarshal(T object, ContentHandler contentHandler, jakarta.xml.bind.attachment.AttachmentMarshaller am)booleansupportOutputStream()This can be used to determine whether XMLStreamWriter or OutputStream is prefered by the implementation.StringtoString()Tunmarshal(jakarta.xml.bind.Unmarshaller u, InputStream in)Tunmarshal(jakarta.xml.bind.Unmarshaller u, XMLStreamReader in)Tunmarshal(jakarta.xml.bind.Unmarshaller u, Source in)Tunmarshal(jakarta.xml.bind.Unmarshaller context, Node n)Tunmarshal(InputStream in)Unmarshals the specified type object.Tunmarshal(XMLStreamReader in)Tunmarshal(XMLStreamReader in, jakarta.xml.bind.attachment.AttachmentUnmarshaller au)Tunmarshal(Source in)Tunmarshal(Source in, jakarta.xml.bind.attachment.AttachmentUnmarshaller au)Tunmarshal(Node n)Tunmarshal(Node n, jakarta.xml.bind.attachment.AttachmentUnmarshaller au)
-
-
-
Constructor Detail
-
BridgeWrapper
public BridgeWrapper(com.sun.xml.ws.db.glassfish.JAXBRIContextWrapper p, org.glassfish.jaxb.runtime.api.Bridge<T> b)
-
-
Method Detail
-
context
public BindingContext context()
Description copied from interface:XMLBridgeGets theBindingContextto which this object belongs.
-
getContext
public org.glassfish.jaxb.runtime.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(jakarta.xml.bind.Marshaller m, T object, ContentHandler contentHandler) throws jakarta.xml.bind.JAXBException- Throws:
jakarta.xml.bind.JAXBException
-
marshal
public void marshal(jakarta.xml.bind.Marshaller m, T object, Node output) throws jakarta.xml.bind.JAXBException- Throws:
jakarta.xml.bind.JAXBException
-
marshal
public void marshal(jakarta.xml.bind.Marshaller m, T object, OutputStream output, NamespaceContext nsContext) throws jakarta.xml.bind.JAXBException- Throws:
jakarta.xml.bind.JAXBException
-
marshal
public void marshal(jakarta.xml.bind.Marshaller m, T object, Result result) throws jakarta.xml.bind.JAXBException- Throws:
jakarta.xml.bind.JAXBException
-
marshal
public void marshal(jakarta.xml.bind.Marshaller m, T object, XMLStreamWriter output) throws jakarta.xml.bind.JAXBException- Throws:
jakarta.xml.bind.JAXBException
-
marshal
public final void marshal(T object, ContentHandler contentHandler, jakarta.xml.bind.attachment.AttachmentMarshaller am) throws jakarta.xml.bind.JAXBException
-
marshal
public void marshal(T object, ContentHandler contentHandler) throws jakarta.xml.bind.JAXBException
- Throws:
jakarta.xml.bind.JAXBException
-
marshal
public void marshal(T object, OutputStream output, NamespaceContext nsContext, jakarta.xml.bind.attachment.AttachmentMarshaller am) throws jakarta.xml.bind.JAXBException
-
marshal
public void marshal(T object, OutputStream output, NamespaceContext nsContext) throws jakarta.xml.bind.JAXBException
- Throws:
jakarta.xml.bind.JAXBException
-
marshal
public final void marshal(T object, XMLStreamWriter output, jakarta.xml.bind.attachment.AttachmentMarshaller am) throws jakarta.xml.bind.JAXBException
-
marshal
public final void marshal(T object, XMLStreamWriter output) throws jakarta.xml.bind.JAXBException
- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
public final T unmarshal(InputStream in) throws jakarta.xml.bind.JAXBException
Description copied from interface:XMLBridgeUnmarshals the specified type object.
-
unmarshal
public final T unmarshal(Node n, jakarta.xml.bind.attachment.AttachmentUnmarshaller au) throws jakarta.xml.bind.JAXBException
-
unmarshal
public final T unmarshal(Node n) throws jakarta.xml.bind.JAXBException
- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
public final T unmarshal(Source in, jakarta.xml.bind.attachment.AttachmentUnmarshaller au) throws jakarta.xml.bind.JAXBException
-
unmarshal
public final T unmarshal(Source in) throws DatabindingException
- Throws:
DatabindingException
-
unmarshal
public T unmarshal(jakarta.xml.bind.Unmarshaller u, InputStream in) throws jakarta.xml.bind.JAXBException
- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
public T unmarshal(jakarta.xml.bind.Unmarshaller context, Node n) throws jakarta.xml.bind.JAXBException
- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
public T unmarshal(jakarta.xml.bind.Unmarshaller u, Source in) throws jakarta.xml.bind.JAXBException
- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
public T unmarshal(jakarta.xml.bind.Unmarshaller u, XMLStreamReader in) throws jakarta.xml.bind.JAXBException
- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
public final T unmarshal(XMLStreamReader in, jakarta.xml.bind.attachment.AttachmentUnmarshaller au) throws jakarta.xml.bind.JAXBException
-
unmarshal
public final T unmarshal(XMLStreamReader in) throws jakarta.xml.bind.JAXBException
- Throws:
jakarta.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.
-
-