com.sun.xml.bind.v2.runtime
Class BridgeImpl<T>
java.lang.Object
com.sun.xml.bind.api.Bridge<T>
com.sun.xml.bind.v2.runtime.InternalBridge<T>
com.sun.xml.bind.v2.runtime.BridgeImpl<T>
final class BridgeImpl<T>
- extends InternalBridge<T>
Bridge
implementaiton.
Method Summary |
TypeReference |
getTypeReference()
Gets the TypeReference from which this bridge was created. |
void |
marshal(Marshaller _m,
T t,
ContentHandler contentHandler)
|
void |
marshal(Marshaller _m,
T t,
Node output)
|
void |
marshal(Marshaller _m,
T t,
OutputStream output,
NamespaceContext nsContext)
|
void |
marshal(Marshaller _m,
T t,
Result result)
|
void |
marshal(Marshaller _m,
T t,
javax.xml.stream.XMLStreamWriter output)
|
void |
marshal(T value,
XMLSerializer out)
Called from CompositeStructureBeanInfo to marshal this bridge as a sub-tree. |
T |
unmarshal(Unmarshaller _u,
InputStream in)
|
T |
unmarshal(Unmarshaller _u,
Node n)
|
T |
unmarshal(Unmarshaller _u,
Source in)
|
T |
unmarshal(Unmarshaller _u,
javax.xml.stream.XMLStreamReader in)
|
Methods inherited from class com.sun.xml.bind.api.Bridge |
marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BridgeImpl
public BridgeImpl(JAXBContextImpl context,
Name tagName,
JaxBeanInfo<T> bi,
TypeReference typeRef)
marshal
public void marshal(Marshaller _m,
T t,
javax.xml.stream.XMLStreamWriter output)
throws JAXBException
- Specified by:
marshal
in class Bridge<T>
- Throws:
JAXBException
marshal
public void marshal(Marshaller _m,
T t,
OutputStream output,
NamespaceContext nsContext)
throws JAXBException
- Specified by:
marshal
in class Bridge<T>
- Throws:
JAXBException
marshal
public void marshal(Marshaller _m,
T t,
Node output)
throws JAXBException
- Specified by:
marshal
in class Bridge<T>
- Throws:
JAXBException
marshal
public void marshal(Marshaller _m,
T t,
ContentHandler contentHandler)
throws JAXBException
- Specified by:
marshal
in class Bridge<T>
- Throws:
JAXBException
marshal
public void marshal(Marshaller _m,
T t,
Result result)
throws JAXBException
- Specified by:
marshal
in class Bridge<T>
- Throws:
JAXBException
unmarshal
@NotNull
public T unmarshal(Unmarshaller _u,
javax.xml.stream.XMLStreamReader in)
throws JAXBException
- Specified by:
unmarshal
in class Bridge<T>
- Throws:
JAXBException
unmarshal
@NotNull
public T unmarshal(Unmarshaller _u,
Source in)
throws JAXBException
- Specified by:
unmarshal
in class Bridge<T>
- Throws:
JAXBException
unmarshal
@NotNull
public T unmarshal(Unmarshaller _u,
InputStream in)
throws JAXBException
- Specified by:
unmarshal
in class Bridge<T>
- Throws:
JAXBException
unmarshal
@NotNull
public T unmarshal(Unmarshaller _u,
Node n)
throws JAXBException
- Specified by:
unmarshal
in class Bridge<T>
- Throws:
JAXBException
getTypeReference
public TypeReference getTypeReference()
- Description copied from class:
Bridge
- Gets the
TypeReference
from which this bridge was created.
- Specified by:
getTypeReference
in class Bridge<T>
marshal
public void marshal(T value,
XMLSerializer out)
throws IOException,
SAXException,
javax.xml.stream.XMLStreamException
- Description copied from class:
InternalBridge
- Called from
CompositeStructureBeanInfo
to marshal this bridge as a sub-tree.
- Specified by:
marshal
in class InternalBridge<T>
- Throws:
IOException
SAXException
javax.xml.stream.XMLStreamException