com.sun.management.oss.impl.pm.measurement.xml
Class ReportModeXmlTranslator
java.lang.Object
com.sun.management.oss.impl.pm.measurement.xml.ReportModeXmlTranslator
- public class ReportModeXmlTranslator
- extends java.lang.Object
Method Summary |
static java.lang.Object |
fromXml(org.w3c.dom.Element element,
java.lang.String type)
|
static void |
fromXmlNoRoot(org.jdom.Element element,
ReportMode object)
|
static java.lang.String |
toXml(ReportMode object,
java.lang.String elementName)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReportModeXmlTranslator
public ReportModeXmlTranslator()
toXml
public static java.lang.String toXml(ReportMode object,
java.lang.String elementName)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
fromXml
public static java.lang.Object fromXml(org.w3c.dom.Element element,
java.lang.String type)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
fromXmlNoRoot
public static void fromXmlNoRoot(org.jdom.Element element,
ReportMode object)
throws org.xml.sax.SAXException,
java.text.ParseException
- Throws:
org.xml.sax.SAXException
java.text.ParseException