public class XmlConverter
extends java.lang.Object
XML converter
Constructor and Description |
---|
XmlConverter(XStream xstream) |
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Document |
toFormatedObject(java.lang.Object resourceObj)
Used to convert an object into an xml document object Document.
|
public org.w3c.dom.Document toFormatedObject(java.lang.Object resourceObj)
Used to convert an object into an xml document object Document. If the incoming parameter is of the base type, it is not converted and returns null.
resourceObj
- The object to be converted.