com.ibm.di.eclipse.http
Class XML

java.lang.Object
  extended by com.ibm.di.eclipse.http.XML

public class XML
extends Object

This class is a temporary class to convert an Entry to/from XML. The new hierachical Entry should be used instead when it supports serialization.


Constructor Summary
XML()
           
 
Method Summary
static Entry fromXML(Document document)
           
static Entry fromXML(String xml)
           
static String toXML(Object entryOrAttribute)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XML

public XML()
Method Detail

fromXML

public static Entry fromXML(String xml)
                     throws Exception
Throws:
Exception

fromXML

public static Entry fromXML(Document document)
                     throws Exception
Throws:
Exception

toXML

public static String toXML(Object entryOrAttribute)
                    throws Exception
Throws:
Exception