com.sun.xml.ws.db.glassfish
Class MarshallerBridge
java.lang.Object
com.sun.xml.bind.api.Bridge
com.sun.xml.ws.db.glassfish.MarshallerBridge
- All Implemented Interfaces:
- XMLBridge
public class MarshallerBridge
- extends Bridge
- implements XMLBridge
|
Method Summary |
BindingContext |
context()
Gets the BindingContext to which this object belongs. |
TypeInfo |
getTypeInfo()
Gets the TypeInfo from which this bridge was created. |
TypeReference |
getTypeReference()
Gets the TypeReference from which this bridge was created. |
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)
|
| Methods inherited from class com.sun.xml.bind.api.Bridge |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MarshallerBridge
protected MarshallerBridge(JAXBContextImpl context)
marshal
public void marshal(Marshaller m,
Object object,
XMLStreamWriter output)
throws JAXBException
- Specified by:
marshal in class Bridge
- Throws:
JAXBException
marshal
public void marshal(Marshaller m,
Object object,
OutputStream output,
NamespaceContext nsContext)
throws JAXBException
- Specified by:
marshal in class Bridge
- Throws:
JAXBException
marshal
public void marshal(Marshaller m,
Object object,
Node output)
throws JAXBException
- Specified by:
marshal in class Bridge
- Throws:
JAXBException
marshal
public void marshal(Marshaller m,
Object object,
ContentHandler contentHandler)
throws JAXBException
- Specified by:
marshal in class Bridge
- Throws:
JAXBException
marshal
public void marshal(Marshaller m,
Object object,
Result result)
throws JAXBException
- Specified by:
marshal in class Bridge
- Throws:
JAXBException
unmarshal
public Object unmarshal(Unmarshaller u,
XMLStreamReader in)
- Specified by:
unmarshal in class Bridge
unmarshal
public Object unmarshal(Unmarshaller u,
Source in)
- Specified by:
unmarshal in class Bridge
unmarshal
public Object unmarshal(Unmarshaller u,
InputStream in)
- Specified by:
unmarshal in class Bridge
unmarshal
public Object unmarshal(Unmarshaller u,
Node n)
- Specified by:
unmarshal in class Bridge
getTypeInfo
public TypeInfo getTypeInfo()
- Description copied from interface:
XMLBridge
- Gets the
TypeInfo from which this bridge was created.
- Specified by:
getTypeInfo in interface XMLBridge
getTypeReference
public TypeReference getTypeReference()
- Description copied from class:
Bridge
- Gets the
TypeReference from which this bridge was created.
- Specified by:
getTypeReference in class Bridge
context
public BindingContext context()
- Description copied from interface:
XMLBridge
- Gets the
BindingContext to which this object belongs.
- Specified by:
context in interface XMLBridge
supportOutputStream
public boolean supportOutputStream()
- Description copied from interface:
XMLBridge
- This can be used to determine whether XMLStreamWriter or OutputStream is
prefered by the implementation.
- Specified by:
supportOutputStream in interface XMLBridge
- Returns:
- true if marshall to OutputStream is supported in the
implementation.
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.