Modifier | Constructor and Description |
---|---|
protected |
MarshallerBridge(com.sun.xml.bind.v2.runtime.JAXBContextImpl context) |
Modifier and Type | Method and Description |
---|---|
BindingContext |
context()
Gets the
BindingContext to which this object belongs. |
TypeInfo |
getTypeInfo()
Gets the
TypeInfo from which this bridge was created. |
com.sun.xml.bind.api.TypeReference |
getTypeReference() |
void |
marshal(Marshaller m,
Object object,
ContentHandler contentHandler) |
void |
marshal(Marshaller m,
Object object,
Node output) |
void |
marshal(Marshaller m,
Object object,
OutputStream output,
NamespaceContext nsContext) |
void |
marshal(Marshaller m,
Object object,
Result result) |
void |
marshal(Marshaller m,
Object object,
XMLStreamWriter output) |
boolean |
supportOutputStream()
This can be used to determine whether XMLStreamWriter or OutputStream is
prefered by the implementation.
|
Object |
unmarshal(Unmarshaller u,
InputStream in) |
Object |
unmarshal(Unmarshaller u,
Node n) |
Object |
unmarshal(Unmarshaller u,
Source in) |
Object |
unmarshal(Unmarshaller u,
XMLStreamReader in) |
getContext, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, marshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal
protected MarshallerBridge(com.sun.xml.bind.v2.runtime.JAXBContextImpl context)
public void marshal(Marshaller m, Object object, XMLStreamWriter output) throws JAXBException
marshal
in class com.sun.xml.bind.api.Bridge
JAXBException
public void marshal(Marshaller m, Object object, OutputStream output, NamespaceContext nsContext) throws JAXBException
marshal
in class com.sun.xml.bind.api.Bridge
JAXBException
public void marshal(Marshaller m, Object object, Node output) throws JAXBException
marshal
in class com.sun.xml.bind.api.Bridge
JAXBException
public void marshal(Marshaller m, Object object, ContentHandler contentHandler) throws JAXBException
marshal
in class com.sun.xml.bind.api.Bridge
JAXBException
public void marshal(Marshaller m, Object object, Result result) throws JAXBException
marshal
in class com.sun.xml.bind.api.Bridge
JAXBException
public Object unmarshal(Unmarshaller u, XMLStreamReader in)
unmarshal
in class com.sun.xml.bind.api.Bridge
public Object unmarshal(Unmarshaller u, Source in)
unmarshal
in class com.sun.xml.bind.api.Bridge
public Object unmarshal(Unmarshaller u, InputStream in)
unmarshal
in class com.sun.xml.bind.api.Bridge
public Object unmarshal(Unmarshaller u, Node n)
unmarshal
in class com.sun.xml.bind.api.Bridge
public TypeInfo getTypeInfo()
XMLBridge
TypeInfo
from which this bridge was created.getTypeInfo
in interface XMLBridge
public com.sun.xml.bind.api.TypeReference getTypeReference()
getTypeReference
in class com.sun.xml.bind.api.Bridge
public BindingContext context()
XMLBridge
BindingContext
to which this object belongs.public boolean supportOutputStream()
XMLBridge
supportOutputStream
in interface XMLBridge
Copyright © 2015 Oracle Corporation. All rights reserved.