org.modeldriven.fuml.bind
Class DataBindingSupport
java.lang.Object
org.modeldriven.fuml.bind.DataBindingSupport
- Direct Known Subclasses:
- ValidatingUnmarshaler
public class DataBindingSupport
- extends java.lang.Object
|
Field Summary |
protected javax.xml.bind.JAXBContext |
context
|
|
Method Summary |
java.lang.String |
marshal(java.lang.Object root)
|
java.lang.Object |
unmarshal(java.io.InputStream stream)
|
java.lang.Object |
unmarshal(java.lang.String xml)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected javax.xml.bind.JAXBContext context
DataBindingSupport
public DataBindingSupport(javax.xml.bind.JAXBContext context)
marshal
public java.lang.String marshal(java.lang.Object root)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
unmarshal
public java.lang.Object unmarshal(java.lang.String xml)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
unmarshal
public java.lang.Object unmarshal(java.io.InputStream stream)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
Copyright © 2015. All Rights Reserved.