public class XML2Java extends XMLBinder
Modifier and Type | Class and Description |
---|---|
static interface |
XML2Java.Listener |
XMLBinder.CustomConverter, XMLBinder.SpecVisitor, XMLBinder.XMLBinderException
Constructor and Description |
---|
XML2Java() |
XML2Java(java.lang.ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
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) |
addCustomConverter, fieldClass, hasCustomConverter, setter, specElements, specifyingTypeExplicitly, toJava, toXML, visit
public XML2Java()
public XML2Java(java.lang.ClassLoader classLoader)
public java.lang.Object read(java.lang.String xml, java.lang.Class c) throws java.lang.Exception
java.lang.Exception
public java.lang.Object read(java.io.Reader reader, java.lang.Class c) throws java.lang.Exception
java.lang.Exception
public java.lang.Object read(java.io.File file, java.lang.Class c) throws java.lang.Exception
java.lang.Exception
public void addListener(XML2Java.Listener listener)