com.vmware.vim25.ws
Class XmlGen

java.lang.Object
  extended by com.vmware.vim25.ws.XmlGen

public final class XmlGen
extends Object

The XML serialization/de-serialization engine.

Author:
Steve Jin (sjin@vmware.com)

Constructor Summary
XmlGen()
           
 
Method Summary
static Object fromXML(String type, org.dom4j.Element root)
           
static SoapFaultException parseSoapFault(org.dom4j.Element root)
           
static String toXML(String tag, String type, Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlGen

public XmlGen()
Method Detail

parseSoapFault

public static SoapFaultException parseSoapFault(org.dom4j.Element root)
                                         throws Exception
Throws:
Exception

fromXML

public static Object fromXML(String type,
                             org.dom4j.Element root)
                      throws Exception
Throws:
Exception

toXML

public static String toXML(String tag,
                           String type,
                           Object obj)


Copyright © 2011-2012. All Rights Reserved.