|
From: Dan C. <dch...@us...> - 2006-06-08 17:50:59
|
Update of /cvsroot/xorm/xorm/src/org/xorm/datastore/xml In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv10914/src/org/xorm/datastore/xml Modified Files: Tag: dan-no-jdom XMLConnectionInfo.java Removed Files: Tag: dan-no-jdom JDOMDocumentDriver.java JDOMDocumentHolder.java Log Message: branch where JDOM is no more...JDOXML uses W3C DOM --- JDOMDocumentHolder.java DELETED --- --- JDOMDocumentDriver.java DELETED --- Index: XMLConnectionInfo.java =================================================================== RCS file: /cvsroot/xorm/xorm/src/org/xorm/datastore/xml/XMLConnectionInfo.java,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -C2 -d -r1.3 -r1.3.2.1 *** XMLConnectionInfo.java 8 Jun 2006 17:33:47 -0000 1.3 --- XMLConnectionInfo.java 8 Jun 2006 17:50:54 -0000 1.3.2.1 *************** *** 27,32 **** public class XMLConnectionInfo extends ConnectionInfo { - static final boolean useJDOM = true; - public DatastoreDriver getDriver() { URL url; --- 27,30 ---- *************** *** 37,46 **** throw new RuntimeException(e); } ! if (useJDOM) { ! return new JDOMDocumentDriver(url); ! } ! else { ! return new W3CDocumentDriver(url); ! } } } --- 35,39 ---- throw new RuntimeException(e); } ! return new W3CDocumentDriver(url); } } |