com.sun.xml.bind.v2.runtime
Class BridgeAdapter<OnWire,InMemory>
java.lang.Object
com.sun.xml.bind.api.Bridge<T>
com.sun.xml.bind.v2.runtime.InternalBridge<InMemory>
com.sun.xml.bind.v2.runtime.BridgeAdapter<OnWire,InMemory>
final class BridgeAdapter<OnWire,InMemory>
- extends InternalBridge<InMemory>
Bridge decorator for XmlAdapter.
|
Method Summary |
TypeReference |
getTypeReference()
Gets the TypeReference from which this bridge was created. |
(package private) void |
marshal(InMemory o,
XMLSerializer out)
Called from CompositeStructureBeanInfo to marshal this bridge as a sub-tree. |
void |
marshal(javax.xml.bind.Marshaller context,
InMemory inMemory,
org.xml.sax.ContentHandler contentHandler)
|
void |
marshal(javax.xml.bind.Marshaller m,
InMemory inMemory,
org.w3c.dom.Node output)
|
void |
marshal(javax.xml.bind.Marshaller m,
InMemory inMemory,
java.io.OutputStream output,
javax.xml.namespace.NamespaceContext nsc)
|
void |
marshal(javax.xml.bind.Marshaller context,
InMemory inMemory,
javax.xml.transform.Result result)
|
void |
marshal(javax.xml.bind.Marshaller m,
InMemory inMemory,
javax.xml.stream.XMLStreamWriter output)
|
InMemory |
unmarshal(javax.xml.bind.Unmarshaller u,
java.io.InputStream in)
|
InMemory |
unmarshal(javax.xml.bind.Unmarshaller u,
org.w3c.dom.Node n)
|
InMemory |
unmarshal(javax.xml.bind.Unmarshaller u,
javax.xml.transform.Source in)
|
InMemory |
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 |
BridgeAdapter
public BridgeAdapter(InternalBridge<OnWire> core,
java.lang.Class<? extends javax.xml.bind.annotation.adapters.XmlAdapter<OnWire,InMemory>> adapter)
marshal
public void marshal(javax.xml.bind.Marshaller m,
InMemory inMemory,
javax.xml.stream.XMLStreamWriter output)
throws javax.xml.bind.JAXBException
- Specified by:
marshal in class Bridge<InMemory>
- Throws:
javax.xml.bind.JAXBException
marshal
public void marshal(javax.xml.bind.Marshaller m,
InMemory inMemory,
java.io.OutputStream output,
javax.xml.namespace.NamespaceContext nsc)
throws javax.xml.bind.JAXBException
- Specified by:
marshal in class Bridge<InMemory>
- Throws:
javax.xml.bind.JAXBException
marshal
public void marshal(javax.xml.bind.Marshaller m,
InMemory inMemory,
org.w3c.dom.Node output)
throws javax.xml.bind.JAXBException
- Specified by:
marshal in class Bridge<InMemory>
- Throws:
javax.xml.bind.JAXBException
marshal
public void marshal(javax.xml.bind.Marshaller context,
InMemory inMemory,
org.xml.sax.ContentHandler contentHandler)
throws javax.xml.bind.JAXBException
- Specified by:
marshal in class Bridge<InMemory>
- Throws:
javax.xml.bind.JAXBException
marshal
public void marshal(javax.xml.bind.Marshaller context,
InMemory inMemory,
javax.xml.transform.Result result)
throws javax.xml.bind.JAXBException
- Specified by:
marshal in class Bridge<InMemory>
- Throws:
javax.xml.bind.JAXBException
unmarshal
@NotNull
public InMemory unmarshal(javax.xml.bind.Unmarshaller u,
javax.xml.stream.XMLStreamReader in)
throws javax.xml.bind.JAXBException
- Specified by:
unmarshal in class Bridge<InMemory>
- Throws:
javax.xml.bind.JAXBException
unmarshal
@NotNull
public InMemory unmarshal(javax.xml.bind.Unmarshaller u,
javax.xml.transform.Source in)
throws javax.xml.bind.JAXBException
- Specified by:
unmarshal in class Bridge<InMemory>
- Throws:
javax.xml.bind.JAXBException
unmarshal
@NotNull
public InMemory unmarshal(javax.xml.bind.Unmarshaller u,
java.io.InputStream in)
throws javax.xml.bind.JAXBException
- Specified by:
unmarshal in class Bridge<InMemory>
- Throws:
javax.xml.bind.JAXBException
unmarshal
@NotNull
public InMemory unmarshal(javax.xml.bind.Unmarshaller u,
org.w3c.dom.Node n)
throws javax.xml.bind.JAXBException
- Specified by:
unmarshal in class Bridge<InMemory>
- 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<InMemory>
marshal
void marshal(InMemory o,
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<InMemory>
- Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.stream.XMLStreamException