org.plasma.common.bind
Class DataBindingSupport
java.lang.Object
org.plasma.common.bind.DataBindingSupport
- Direct Known Subclasses:
- NonValidatingUnmarshaler, ValidatingUnmarshaler
public class DataBindingSupport
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected JAXBContext context
DataBindingSupport
public DataBindingSupport(JAXBContext context)
marshal
public String marshal(Object root)
throws JAXBException
- Throws:
JAXBException
marshal
public void marshal(Object root,
OutputStream stream)
throws JAXBException
- Throws:
JAXBException
marshal
public void marshal(Object root,
OutputStream stream,
boolean formattedOutput)
throws JAXBException
- Throws:
JAXBException
unmarshal
public Object unmarshal(String xml)
throws JAXBException
- Throws:
JAXBException
unmarshal
public Object unmarshal(Reader reader)
throws JAXBException
- Throws:
JAXBException
unmarshal
public Object unmarshal(Source source)
throws JAXBException
- Throws:
JAXBException
unmarshal
public Object unmarshal(InputStream stream)
throws JAXBException
- Throws:
JAXBException
Copyright © 2013. All rights reserved.