| 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,
javax.xml.stream.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,
javax.xml.stream.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, unmarshalprotected MarshallerBridge(com.sun.xml.bind.v2.runtime.JAXBContextImpl context)
public void marshal(Marshaller m, Object object, javax.xml.stream.XMLStreamWriter output) throws JAXBException
marshal in class com.sun.xml.bind.api.BridgeJAXBExceptionpublic void marshal(Marshaller m, Object object, OutputStream output, NamespaceContext nsContext) throws JAXBException
marshal in class com.sun.xml.bind.api.BridgeJAXBExceptionpublic void marshal(Marshaller m, Object object, Node output) throws JAXBException
marshal in class com.sun.xml.bind.api.BridgeJAXBExceptionpublic void marshal(Marshaller m, Object object, ContentHandler contentHandler) throws JAXBException
marshal in class com.sun.xml.bind.api.BridgeJAXBExceptionpublic void marshal(Marshaller m, Object object, Result result) throws JAXBException
marshal in class com.sun.xml.bind.api.BridgeJAXBExceptionpublic Object unmarshal(Unmarshaller u, javax.xml.stream.XMLStreamReader in)
unmarshal in class com.sun.xml.bind.api.Bridgepublic Object unmarshal(Unmarshaller u, Source in)
unmarshal in class com.sun.xml.bind.api.Bridgepublic Object unmarshal(Unmarshaller u, InputStream in)
unmarshal in class com.sun.xml.bind.api.Bridgepublic Object unmarshal(Unmarshaller u, Node n)
unmarshal in class com.sun.xml.bind.api.Bridgepublic TypeInfo getTypeInfo()
XMLBridgeTypeInfo from which this bridge was created.getTypeInfo in interface XMLBridgepublic com.sun.xml.bind.api.TypeReference getTypeReference()
getTypeReference in class com.sun.xml.bind.api.Bridgepublic BindingContext context()
XMLBridgeBindingContext to which this object belongs.public boolean supportOutputStream()
XMLBridgesupportOutputStream in interface XMLBridgeCopyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.