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 com.sun.xml.bind.api.Bridge
- implements XMLBridge
| Fields inherited from class com.sun.xml.bind.api.Bridge |
context |
|
Constructor Summary |
protected |
MarshallerBridge(com.sun.xml.bind.v2.runtime.JAXBContextImpl context)
|
|
Method Summary |
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(javax.xml.bind.Marshaller m,
java.lang.Object object,
org.xml.sax.ContentHandler contentHandler)
|
void |
marshal(javax.xml.bind.Marshaller m,
java.lang.Object object,
org.w3c.dom.Node output)
|
void |
marshal(javax.xml.bind.Marshaller m,
java.lang.Object object,
java.io.OutputStream output,
javax.xml.namespace.NamespaceContext nsContext)
|
void |
marshal(javax.xml.bind.Marshaller m,
java.lang.Object object,
javax.xml.transform.Result result)
|
void |
marshal(javax.xml.bind.Marshaller m,
java.lang.Object object,
javax.xml.stream.XMLStreamWriter output)
|
boolean |
supportOutputStream()
This can be used to determine whether XMLStreamWriter or OutputStream is
prefered by the implementation. |
java.lang.Object |
unmarshal(javax.xml.bind.Unmarshaller u,
java.io.InputStream in)
|
java.lang.Object |
unmarshal(javax.xml.bind.Unmarshaller u,
org.w3c.dom.Node n)
|
java.lang.Object |
unmarshal(javax.xml.bind.Unmarshaller u,
javax.xml.transform.Source in)
|
java.lang.Object |
unmarshal(javax.xml.bind.Unmarshaller u,
javax.xml.stream.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(com.sun.xml.bind.v2.runtime.JAXBContextImpl context)
marshal
public void marshal(javax.xml.bind.Marshaller m,
java.lang.Object object,
javax.xml.stream.XMLStreamWriter output)
throws javax.xml.bind.JAXBException
- Specified by:
marshal in class com.sun.xml.bind.api.Bridge
- Throws:
javax.xml.bind.JAXBException
marshal
public void marshal(javax.xml.bind.Marshaller m,
java.lang.Object object,
java.io.OutputStream output,
javax.xml.namespace.NamespaceContext nsContext)
throws javax.xml.bind.JAXBException
- Specified by:
marshal in class com.sun.xml.bind.api.Bridge
- Throws:
javax.xml.bind.JAXBException
marshal
public void marshal(javax.xml.bind.Marshaller m,
java.lang.Object object,
org.w3c.dom.Node output)
throws javax.xml.bind.JAXBException
- Specified by:
marshal in class com.sun.xml.bind.api.Bridge
- Throws:
javax.xml.bind.JAXBException
marshal
public void marshal(javax.xml.bind.Marshaller m,
java.lang.Object object,
org.xml.sax.ContentHandler contentHandler)
throws javax.xml.bind.JAXBException
- Specified by:
marshal in class com.sun.xml.bind.api.Bridge
- Throws:
javax.xml.bind.JAXBException
marshal
public void marshal(javax.xml.bind.Marshaller m,
java.lang.Object object,
javax.xml.transform.Result result)
throws javax.xml.bind.JAXBException
- Specified by:
marshal in class com.sun.xml.bind.api.Bridge
- Throws:
javax.xml.bind.JAXBException
unmarshal
public java.lang.Object unmarshal(javax.xml.bind.Unmarshaller u,
javax.xml.stream.XMLStreamReader in)
- Specified by:
unmarshal in class com.sun.xml.bind.api.Bridge
unmarshal
public java.lang.Object unmarshal(javax.xml.bind.Unmarshaller u,
javax.xml.transform.Source in)
- Specified by:
unmarshal in class com.sun.xml.bind.api.Bridge
unmarshal
public java.lang.Object unmarshal(javax.xml.bind.Unmarshaller u,
java.io.InputStream in)
- Specified by:
unmarshal in class com.sun.xml.bind.api.Bridge
unmarshal
public java.lang.Object unmarshal(javax.xml.bind.Unmarshaller u,
org.w3c.dom.Node n)
- Specified by:
unmarshal in class com.sun.xml.bind.api.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 com.sun.xml.bind.api.TypeReference getTypeReference()
- Specified by:
getTypeReference in class com.sun.xml.bind.api.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 (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.