org.xorm.util.jdoxml
Class JDOXML

java.lang.Object
  |
  +--org.xorm.util.jdoxml.JDOXML

public class JDOXML
extends Object

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

JDO_SYSTEM_URL

public static final String JDO_SYSTEM_URL
SYSTEM DOCTYPE that will be recognized.

See Also:
Constant Field Values

JDO_DTD_URL

public static final String JDO_DTD_URL
PUBLIC DOCTYPE that will be recognized.

See Also:
Constant Field Values
Constructor Detail

JDOXML

public JDOXML()
Method Detail

read

public static final JDOPackage read(InputStream input)
                             throws IOException
Uses JDOM to load from an XML .jdo file.

IOException

read

public static final JDOPackage read(InputStream input,
                                    boolean validateXML)
                             throws IOException
Uses JDOM to load from an XML .jdo file.

Parameters:
input - the .jdo XML input stream
validateXML - whether the XML should be validated against the JDO DTD
IOException


$Header: /cvsroot/xorm/xorm/docs/api/org/xorm/util/jdoxml/JDOXML.html,v 1.6 2004/05/30 08:55:10 wbiggs Exp $