public class DataBindingSupport
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected javax.xml.bind.JAXBContext |
context |
| Constructor and Description |
|---|
DataBindingSupport(javax.xml.bind.JAXBContext context) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
marshal(java.lang.Object root) |
void |
marshal(java.lang.Object root,
java.io.OutputStream stream) |
void |
marshal(java.lang.Object root,
java.io.OutputStream stream,
boolean formattedOutput) |
java.lang.Object |
unmarshal(java.io.InputStream stream) |
java.lang.Object |
unmarshal(java.io.Reader reader) |
java.lang.Object |
unmarshal(javax.xml.transform.Source source) |
java.lang.Object |
unmarshal(java.lang.String xml) |
public java.lang.String marshal(java.lang.Object root)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic void marshal(java.lang.Object root,
java.io.OutputStream stream)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic void marshal(java.lang.Object root,
java.io.OutputStream stream,
boolean formattedOutput)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic java.lang.Object unmarshal(java.lang.String xml)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic java.lang.Object unmarshal(java.io.Reader reader)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic java.lang.Object unmarshal(javax.xml.transform.Source source)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic java.lang.Object unmarshal(java.io.InputStream stream)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionCopyright © 2015. All Rights Reserved.