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(javax.xml.bind.Marshaller _m,
T t,
org.xml.sax.ContentHandler contentHandler)
|
void |
marshal(javax.xml.bind.Marshaller _m,
T t,
org.w3c.dom.Node output)
|
void |
marshal(javax.xml.bind.Marshaller _m,
T t,
java.io.OutputStream output,
javax.xml.namespace.NamespaceContext nsContext)
|
void |
marshal(javax.xml.bind.Marshaller _m,
T t,
javax.xml.transform.Result result)
|
void |
marshal(javax.xml.bind.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(javax.xml.bind.Unmarshaller _u,
java.io.InputStream in)
|
T |
unmarshal(javax.xml.bind.Unmarshaller _u,
org.w3c.dom.Node n)
|
T |
unmarshal(javax.xml.bind.Unmarshaller _u,
javax.xml.transform.Source in)
|
T |
unmarshal(javax.xml.bind.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(javax.xml.bind.Marshaller _m,
T t,
javax.xml.stream.XMLStreamWriter output)
throws javax.xml.bind.JAXBException
- Specified by:
marshal in class Bridge<T>
- Throws:
javax.xml.bind.JAXBException
marshal
public void marshal(javax.xml.bind.Marshaller _m,
T t,
java.io.OutputStream output,
javax.xml.namespace.NamespaceContext nsContext)
throws javax.xml.bind.JAXBException
- Specified by:
marshal in class Bridge<T>
- Throws:
javax.xml.bind.JAXBException
marshal
public void marshal(javax.xml.bind.Marshaller _m,
T t,
org.w3c.dom.Node output)
throws javax.xml.bind.JAXBException
- Specified by:
marshal in class Bridge<T>
- Throws:
javax.xml.bind.JAXBException
marshal
public void marshal(javax.xml.bind.Marshaller _m,
T t,
org.xml.sax.ContentHandler contentHandler)
throws javax.xml.bind.JAXBException
- Specified by:
marshal in class Bridge<T>
- Throws:
javax.xml.bind.JAXBException
marshal
public void marshal(javax.xml.bind.Marshaller _m,
T t,
javax.xml.transform.Result result)
throws javax.xml.bind.JAXBException
- Specified by:
marshal in class Bridge<T>
- Throws:
javax.xml.bind.JAXBException
unmarshal
@NotNull
public T unmarshal(javax.xml.bind.Unmarshaller _u,
javax.xml.stream.XMLStreamReader in)
throws javax.xml.bind.JAXBException
- Specified by:
unmarshal in class Bridge<T>
- Throws:
javax.xml.bind.JAXBException
unmarshal
@NotNull
public T unmarshal(javax.xml.bind.Unmarshaller _u,
javax.xml.transform.Source in)
throws javax.xml.bind.JAXBException
- Specified by:
unmarshal in class Bridge<T>
- Throws:
javax.xml.bind.JAXBException
unmarshal
@NotNull
public T unmarshal(javax.xml.bind.Unmarshaller _u,
java.io.InputStream in)
throws javax.xml.bind.JAXBException
- Specified by:
unmarshal in class Bridge<T>
- Throws:
javax.xml.bind.JAXBException
unmarshal
@NotNull
public T unmarshal(javax.xml.bind.Unmarshaller _u,
org.w3c.dom.Node n)
throws javax.xml.bind.JAXBException
- Specified by:
unmarshal in class Bridge<T>
- Throws:
javax.xml.bind.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 java.io.IOException,
org.xml.sax.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:
java.io.IOException
org.xml.sax.SAXException
javax.xml.stream.XMLStreamException