com.vividsolutions.jump.util.java2xml
Class XML2Java

java.lang.Object
  extended by com.vividsolutions.jump.util.java2xml.XMLBinder
      extended by com.vividsolutions.jump.util.java2xml.XML2Java

public class XML2Java
extends XMLBinder


Nested Class Summary
static interface XML2Java.Listener
           
 
Nested classes/interfaces inherited from class com.vividsolutions.jump.util.java2xml.XMLBinder
XMLBinder.CustomConverter, XMLBinder.XMLBinderException
 
Constructor Summary
XML2Java()
           
XML2Java(java.lang.ClassLoader classLoader)
           
 
Method Summary
 void addListener(XML2Java.Listener listener)
           
 java.lang.Object read(java.io.File file, java.lang.Class c)
           
 java.lang.Object read(java.io.Reader reader, java.lang.Class c)
           
 java.lang.Object read(java.lang.String xml, java.lang.Class c)
           
 
Methods inherited from class com.vividsolutions.jump.util.java2xml.XMLBinder
addCustomConverter, setter, toJava
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XML2Java

public XML2Java()

XML2Java

public XML2Java(java.lang.ClassLoader classLoader)
Method Detail

read

public java.lang.Object read(java.lang.String xml,
                             java.lang.Class c)
                      throws java.lang.Exception
Throws:
java.lang.Exception

read

public java.lang.Object read(java.io.Reader reader,
                             java.lang.Class c)
                      throws java.lang.Exception
Throws:
java.lang.Exception

read

public java.lang.Object read(java.io.File file,
                             java.lang.Class c)
                      throws java.lang.Exception
Throws:
java.lang.Exception

addListener

public void addListener(XML2Java.Listener listener)