Class Java2XML
- java.lang.Object
-
- com.vividsolutions.jump.util.java2xml.XMLBinder
-
- com.vividsolutions.jump.util.java2xml.Java2XML
-
public class Java2XML extends XMLBinder
Write a java object to XML. Rules to convert the object to xml tags and attributes are defined in a .java2xml file or in a CustomConverter (@link XMLBinder)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vividsolutions.jump.util.java2xml.XMLBinder
XMLBinder.CustomConverter, XMLBinder.SpecVisitor, XMLBinder.XMLBinderException
-
-
Constructor Summary
Constructors Constructor Description Java2XML()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
write(Object object, String rootTagName)
void
write(Object object, String rootTagName, File file)
void
write(Object object, String rootTagName, Writer writer)
-
Methods inherited from class com.vividsolutions.jump.util.java2xml.XMLBinder
addCustomConverter, fieldClass, hasCustomConverter, setter, specElements, specifyingTypeExplicitly, toJava, toXML, visit
-
-