com.sun.management.oss.impl.pm.opstatus.xml
Class ReportDataXmlTranslator

java.lang.Object
  extended bycom.sun.management.oss.impl.pm.opstatus.xml.ReportDataXmlTranslator

public class ReportDataXmlTranslator
extends java.lang.Object


Constructor Summary
ReportDataXmlTranslator()
           
 
Method Summary
static java.lang.Object fromXml(org.w3c.dom.Element element, java.lang.String type)
           
static void fromXmlNoRoot(org.jdom.Element element, ReportData reportData)
           
static java.lang.String toXml(ReportData reportData, java.lang.String elementName)
           ASCII
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportDataXmlTranslator

public ReportDataXmlTranslator()
Method Detail

toXml

public static java.lang.String toXml(ReportData reportData,
                                     java.lang.String elementName)
                              throws org.xml.sax.SAXException
ASCII

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,
                                 ReportData reportData)
                          throws org.xml.sax.SAXException,
                                 java.text.ParseException,
                                 org.jdom.JDOMException
Throws:
org.xml.sax.SAXException
java.text.ParseException
org.jdom.JDOMException