com.supermap.services.rest.util
Class XmlConverter
- java.lang.Object
-
- com.supermap.services.rest.util.XmlConverter
-
public class XmlConverter extends java.lang.ObjectXML converter
-
-
Constructor Summary
Constructors Constructor and Description XmlConverter(XStream xstream)
-
Method Summary
Methods Modifier and Type Method and Description org.w3c.dom.DocumenttoFormatedObject(java.lang.Object resourceObj)Used to convert an object into an xml document object Document.
-
-
-
Method Detail
-
toFormatedObject
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.
- Parameters:
resourceObj- The object to be converted.- Returns:
- Returns the converted xml document object Document.
-
-