|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The IObjectToXMLProcessor
interface defines the methods for the transforming of
Object graphs to XML documents and back again. This could be implemented by any of the many
technologies for this kind of thing. JAXB, XStream, XMLBeans, Castor
Method Summary | |
org.w3c.dom.Document |
processToXMLDOM(java.lang.Object obj)
Convert a Object to an XML W3C DOM Document representation |
java.lang.String |
processToXMLString(java.lang.Object obj)
Convert a Object to an XML String representation |
java.lang.Object |
processXMLToObject(org.w3c.dom.Document xml)
Process a W3C DOM representation of an XML document to a Java Object. |
java.lang.Object |
processXMLToObject(java.lang.String xml)
Process a String representation of an XML document to a Java Object. |
Method Detail |
public java.lang.String processToXMLString(java.lang.Object obj)
obj
- The object to convert
public org.w3c.dom.Document processToXMLDOM(java.lang.Object obj)
public java.lang.Object processXMLToObject(java.lang.String xml)
xml
- the XML string
public java.lang.Object processXMLToObject(org.w3c.dom.Document xml)
xml
- the XML DOM
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |