public interface JAXBHandler
| Modifier and Type | Method and Description |
|---|---|
void |
marshall(Object obj,
Node node,
org.datanucleus.ClassLoaderResolver clr)
Method to marshall an object into XML for storing.
|
Object |
unmarshall(Class cls,
Node node,
org.datanucleus.ClassLoaderResolver clr)
Method to unmarshall a node from XML into an object.
|
void marshall(Object obj, Node node, org.datanucleus.ClassLoaderResolver clr) throws JAXBException
obj - The objectnode - The node where we store itclr - ClassLoader resolverJAXBException - If an error occurs in marshall processObject unmarshall(Class cls, Node node, org.datanucleus.ClassLoaderResolver clr) throws JAXBException
cls - Type of objectnode - The node to be unmarshalledclr - ClassLoader resolverJAXBException - If an error occurs in unmarshall processCopyright © 2016. All rights reserved.