|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.xorm.util.jdoxml.JDOXML
Utility class to generate an object graph from a JDO XML file or serialize an object graph.
| Field Summary | |
static String |
JDO_DTD_URL
PUBLIC DOCTYPE that will be recognized. |
static String |
JDO_SYSTEM_URL
SYSTEM DOCTYPE that will be recognized. |
| Constructor Summary | |
JDOXML()
|
|
| Method Summary | |
static JDOPackage |
read(InputStream input)
Uses JDOM to load from an XML .jdo file. |
static JDOPackage |
read(InputStream input,
boolean validateXML)
Uses JDOM to load from an XML .jdo file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String JDO_SYSTEM_URL
public static final String JDO_DTD_URL
| Constructor Detail |
public JDOXML()
| Method Detail |
public static final JDOPackage read(InputStream input)
throws IOException
IOException
public static final JDOPackage read(InputStream input,
boolean validateXML)
throws IOException
input - the .jdo XML input streamvalidateXML - whether the XML should be validated against
the JDO DTD
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||