Constructor and Description |
---|
BridgeWrapper(com.sun.xml.ws.db.glassfish.JAXBRIContextWrapper p,
com.sun.xml.bind.api.Bridge<T> b) |
Modifier and Type | Method and Description |
---|---|
BindingContext |
context()
Gets the
BindingContext to which this object belongs. |
boolean |
equals(Object obj) |
com.sun.xml.bind.api.JAXBRIContext |
getContext() |
TypeInfo |
getTypeInfo()
Gets the
TypeInfo from which this bridge was created. |
int |
hashCode() |
void |
marshal(Marshaller m,
T object,
ContentHandler contentHandler) |
void |
marshal(Marshaller m,
T object,
Node output) |
void |
marshal(Marshaller m,
T object,
OutputStream output,
NamespaceContext nsContext) |
void |
marshal(Marshaller m,
T object,
Result result) |
void |
marshal(Marshaller m,
T object,
XMLStreamWriter output) |
void |
marshal(T object,
ContentHandler contentHandler) |
void |
marshal(T object,
ContentHandler contentHandler,
AttachmentMarshaller am) |
void |
marshal(T object,
Node output) |
void |
marshal(T object,
OutputStream output,
NamespaceContext nsContext) |
void |
marshal(T object,
OutputStream output,
NamespaceContext nsContext,
AttachmentMarshaller am) |
void |
marshal(T object,
Result result) |
void |
marshal(T object,
XMLStreamWriter output) |
void |
marshal(T object,
XMLStreamWriter output,
AttachmentMarshaller am) |
boolean |
supportOutputStream()
This can be used to determine whether XMLStreamWriter or OutputStream is
prefered by the implementation.
|
String |
toString() |
T |
unmarshal(InputStream in)
Unmarshals the specified type object.
|
T |
unmarshal(Node n) |
T |
unmarshal(Node n,
AttachmentUnmarshaller au) |
T |
unmarshal(Source in) |
T |
unmarshal(Source in,
AttachmentUnmarshaller au) |
T |
unmarshal(Unmarshaller u,
InputStream in) |
T |
unmarshal(Unmarshaller context,
Node n) |
T |
unmarshal(Unmarshaller u,
Source in) |
T |
unmarshal(Unmarshaller u,
XMLStreamReader in) |
T |
unmarshal(XMLStreamReader in) |
T |
unmarshal(XMLStreamReader in,
AttachmentUnmarshaller au) |
public BridgeWrapper(com.sun.xml.ws.db.glassfish.JAXBRIContextWrapper p, com.sun.xml.bind.api.Bridge<T> b)
public BindingContext context()
XMLBridge
BindingContext
to which this object belongs.public com.sun.xml.bind.api.JAXBRIContext getContext()
public TypeInfo getTypeInfo()
XMLBridge
TypeInfo
from which this bridge was created.getTypeInfo
in interface XMLBridge<T>
public void marshal(Marshaller m, T object, ContentHandler contentHandler) throws JAXBException
JAXBException
public void marshal(Marshaller m, T object, Node output) throws JAXBException
JAXBException
public void marshal(Marshaller m, T object, OutputStream output, NamespaceContext nsContext) throws JAXBException
JAXBException
public void marshal(Marshaller m, T object, Result result) throws JAXBException
JAXBException
public void marshal(Marshaller m, T object, XMLStreamWriter output) throws JAXBException
JAXBException
public final void marshal(T object, ContentHandler contentHandler, AttachmentMarshaller am) throws JAXBException
marshal
in interface XMLBridge<T>
JAXBException
public void marshal(T object, ContentHandler contentHandler) throws JAXBException
JAXBException
public void marshal(T object, Node output) throws JAXBException
marshal
in interface XMLBridge<T>
JAXBException
public void marshal(T object, OutputStream output, NamespaceContext nsContext, AttachmentMarshaller am) throws JAXBException
marshal
in interface XMLBridge<T>
JAXBException
public void marshal(T object, OutputStream output, NamespaceContext nsContext) throws JAXBException
JAXBException
public final void marshal(T object, Result result) throws JAXBException
marshal
in interface XMLBridge<T>
JAXBException
public final void marshal(T object, XMLStreamWriter output, AttachmentMarshaller am) throws JAXBException
marshal
in interface XMLBridge<T>
JAXBException
- if there was an error while marshalling.public final void marshal(T object, XMLStreamWriter output) throws JAXBException
JAXBException
public final T unmarshal(InputStream in) throws JAXBException
XMLBridge
unmarshal
in interface XMLBridge<T>
in
- the parser must be pointing at a start tag
that encloses the XML type that this XMLBridge
is
instanciated for.JAXBException
- if there was an error while unmarshalling.public final T unmarshal(Node n, AttachmentUnmarshaller au) throws JAXBException
unmarshal
in interface XMLBridge<T>
JAXBException
public final T unmarshal(Node n) throws JAXBException
JAXBException
public final T unmarshal(Source in, AttachmentUnmarshaller au) throws JAXBException
unmarshal
in interface XMLBridge<T>
JAXBException
public final T unmarshal(Source in) throws DatabindingException
DatabindingException
public T unmarshal(Unmarshaller u, InputStream in) throws JAXBException
JAXBException
public T unmarshal(Unmarshaller context, Node n) throws JAXBException
JAXBException
public T unmarshal(Unmarshaller u, Source in) throws JAXBException
JAXBException
public T unmarshal(Unmarshaller u, XMLStreamReader in) throws JAXBException
JAXBException
public final T unmarshal(XMLStreamReader in, AttachmentUnmarshaller au) throws JAXBException
unmarshal
in interface XMLBridge<T>
JAXBException
public final T unmarshal(XMLStreamReader in) throws JAXBException
JAXBException
public boolean supportOutputStream()
XMLBridge
supportOutputStream
in interface XMLBridge<T>
Copyright © 2015 Oracle Corporation. All rights reserved.