com.vividsolutions.jump.util.java2xml
Class XMLBinder

java.lang.Object
  extended by com.vividsolutions.jump.util.java2xml.XMLBinder
Direct Known Subclasses:
Java2XML, XML2Java

public class XMLBinder
extends java.lang.Object


Nested Class Summary
static interface XMLBinder.CustomConverter
          Sometimes you need to use a CustomConverter rather than a .java2xml file i.e.
static class XMLBinder.XMLBinderException
           
 
Constructor Summary
XMLBinder()
           
 
Method Summary
 void addCustomConverter(java.lang.Class c, XMLBinder.CustomConverter converter)
           
 java.lang.reflect.Method setter(java.lang.Class c, java.lang.String field)
           
 java.lang.Object toJava(java.lang.String text, java.lang.Class c)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLBinder

public XMLBinder()
Method Detail

addCustomConverter

public void addCustomConverter(java.lang.Class c,
                               XMLBinder.CustomConverter converter)

toJava

public java.lang.Object toJava(java.lang.String text,
                               java.lang.Class c)

setter

public java.lang.reflect.Method setter(java.lang.Class c,
                                       java.lang.String field)
                                throws XMLBinder.XMLBinderException
Throws:
XMLBinder.XMLBinderException