|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.db.glassfish.WrapperBridge<T>
public class WrapperBridge<T>
Constructor Summary | |
---|---|
WrapperBridge(JAXBRIContextWrapper p,
com.sun.xml.bind.api.Bridge<T> b)
|
Method Summary | |
---|---|
BindingContext |
context()
Gets the BindingContext to which this object belongs. |
(package private) static com.sun.xml.bind.api.CompositeStructure |
convert(Object o)
|
boolean |
equals(Object obj)
|
TypeInfo |
getTypeInfo()
Gets the TypeInfo from which this bridge was created. |
int |
hashCode()
|
void |
marshal(T object,
ContentHandler contentHandler,
AttachmentMarshaller am)
|
void |
marshal(T object,
Node output)
|
void |
marshal(T object,
OutputStream output,
NamespaceContext nsContext,
AttachmentMarshaller am)
|
void |
marshal(T object,
Result result)
|
void |
marshal(T object,
javax.xml.stream.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,
AttachmentUnmarshaller au)
|
T |
unmarshal(Source in,
AttachmentUnmarshaller au)
|
T |
unmarshal(javax.xml.stream.XMLStreamReader in,
AttachmentUnmarshaller au)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WrapperBridge(JAXBRIContextWrapper p, com.sun.xml.bind.api.Bridge<T> b)
Method Detail |
---|
public BindingContext context()
XMLBridge
BindingContext
to which this object belongs.
context
in interface XMLBridge<T>
public boolean equals(Object obj)
equals
in class Object
public TypeInfo getTypeInfo()
XMLBridge
TypeInfo
from which this bridge was created.
getTypeInfo
in interface XMLBridge<T>
public int hashCode()
hashCode
in class Object
static com.sun.xml.bind.api.CompositeStructure convert(Object o)
public final void marshal(T object, ContentHandler contentHandler, AttachmentMarshaller am) throws JAXBException
marshal
in interface XMLBridge<T>
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 final void marshal(T object, Result result) throws JAXBException
marshal
in interface XMLBridge<T>
JAXBException
public final void marshal(T object, javax.xml.stream.XMLStreamWriter output, AttachmentMarshaller am) throws JAXBException
marshal
in interface XMLBridge<T>
JAXBException
- if there was an error while marshalling.public String toString()
toString
in class Object
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(Source in, AttachmentUnmarshaller au) throws JAXBException
unmarshal
in interface XMLBridge<T>
JAXBException
public final T unmarshal(javax.xml.stream.XMLStreamReader in, AttachmentUnmarshaller au) throws JAXBException
unmarshal
in interface XMLBridge<T>
JAXBException
public boolean supportOutputStream()
XMLBridge
supportOutputStream
in interface XMLBridge<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |