diff --git a/.idea/gradle.xml b/.idea/gradle.xml new file mode 100644 index 00000000..5c8c7ac5 --- /dev/null +++ b/.idea/gradle.xml @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Gradle__com_beust_jcommander_1_27.xml b/.idea/libraries/Gradle__com_beust_jcommander_1_27.xml new file mode 100644 index 00000000..78f2977f --- /dev/null +++ b/.idea/libraries/Gradle__com_beust_jcommander_1_27.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Gradle__jakarta_regexp_jakarta_regexp_1_4.xml b/.idea/libraries/Gradle__jakarta_regexp_jakarta_regexp_1_4.xml new file mode 100644 index 00000000..3b86bc3c --- /dev/null +++ b/.idea/libraries/Gradle__jakarta_regexp_jakarta_regexp_1_4.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Gradle__jaxen_jaxen_1_1_6.xml b/.idea/libraries/Gradle__jaxen_jaxen_1_1_6.xml new file mode 100644 index 00000000..e2acdc7e --- /dev/null +++ b/.idea/libraries/Gradle__jaxen_jaxen_1_1_6.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Gradle__junit_junit_4_7.xml b/.idea/libraries/Gradle__junit_junit_4_7.xml new file mode 100644 index 00000000..640f99ae --- /dev/null +++ b/.idea/libraries/Gradle__junit_junit_4_7.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Gradle__junitperf_junitperf_1_8.xml b/.idea/libraries/Gradle__junitperf_junitperf_1_8.xml new file mode 100644 index 00000000..491640b6 --- /dev/null +++ b/.idea/libraries/Gradle__junitperf_junitperf_1_8.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Gradle__net_java_dev_msv_xsdlib_2013_6_1.xml b/.idea/libraries/Gradle__net_java_dev_msv_xsdlib_2013_6_1.xml new file mode 100644 index 00000000..c220c854 --- /dev/null +++ b/.idea/libraries/Gradle__net_java_dev_msv_xsdlib_2013_6_1.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Gradle__org_beanshell_bsh_2_0b4.xml b/.idea/libraries/Gradle__org_beanshell_bsh_2_0b4.xml new file mode 100644 index 00000000..6b2907c3 --- /dev/null +++ b/.idea/libraries/Gradle__org_beanshell_bsh_2_0b4.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Gradle__org_ogce_xpp5_1_2_8.xml b/.idea/libraries/Gradle__org_ogce_xpp5_1_2_8.xml new file mode 100644 index 00000000..a1b4774c --- /dev/null +++ b/.idea/libraries/Gradle__org_ogce_xpp5_1_2_8.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Gradle__org_testng_testng_6_8_21.xml b/.idea/libraries/Gradle__org_testng_testng_6_8_21.xml new file mode 100644 index 00000000..eb65de88 --- /dev/null +++ b/.idea/libraries/Gradle__org_testng_testng_6_8_21.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Gradle__pull_parser_pull_parser_2.xml b/.idea/libraries/Gradle__pull_parser_pull_parser_2.xml new file mode 100644 index 00000000..39ff83fc --- /dev/null +++ b/.idea/libraries/Gradle__pull_parser_pull_parser_2.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Gradle__relaxngDatatype_relaxngDatatype_20020414.xml b/.idea/libraries/Gradle__relaxngDatatype_relaxngDatatype_20020414.xml new file mode 100644 index 00000000..9032fdc8 --- /dev/null +++ b/.idea/libraries/Gradle__relaxngDatatype_relaxngDatatype_20020414.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Gradle__xalan_serializer_2_7_2.xml b/.idea/libraries/Gradle__xalan_serializer_2_7_2.xml new file mode 100644 index 00000000..de734908 --- /dev/null +++ b/.idea/libraries/Gradle__xalan_serializer_2_7_2.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Gradle__xalan_xalan_2_7_2.xml b/.idea/libraries/Gradle__xalan_xalan_2_7_2.xml new file mode 100644 index 00000000..9c7ead61 --- /dev/null +++ b/.idea/libraries/Gradle__xalan_xalan_2_7_2.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Gradle__xerces_xercesImpl_2_11_0.xml b/.idea/libraries/Gradle__xerces_xercesImpl_2_11_0.xml new file mode 100644 index 00000000..af67e30e --- /dev/null +++ b/.idea/libraries/Gradle__xerces_xercesImpl_2_11_0.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Gradle__xml_apis_xml_apis_1_4_01.xml b/.idea/libraries/Gradle__xml_apis_xml_apis_1_4_01.xml new file mode 100644 index 00000000..227bbabf --- /dev/null +++ b/.idea/libraries/Gradle__xml_apis_xml_apis_1_4_01.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/LICENSE b/LICENSE index 3327e274..462adffe 100644 --- a/LICENSE +++ b/LICENSE @@ -1,28 +1,39 @@ -Copyright (c) 2015, dom4j -All rights reserved. +Copyright 2001-2015 (C) MetaStuff, Ltd. and DOM4J contributors. All Rights Reserved. -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of dom4j nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +Redistribution and use of this software and associated documentation +("Software"), with or without modification, are permitted provided +that the following conditions are met: +1. Redistributions of source code must retain copyright + statements and notices. Redistributions must also contain a + copy of this document. + +2. Redistributions in binary form must reproduce the + above copyright notice, this list of conditions and the + following disclaimer in the documentation and/or other + materials provided with the distribution. + +3. The name "DOM4J" must not be used to endorse or promote + products derived from this Software without prior written + permission of MetaStuff, Ltd. For written permission, + please contact dom4j-info@metastuff.com. + +4. Products derived from this Software may not be called "DOM4J" + nor may "DOM4J" appear in their names without prior written + permission of MetaStuff, Ltd. DOM4J is a registered + trademark of MetaStuff, Ltd. + +5. Due credit should be given to the DOM4J Project - https://dom4j.github.com/ + +THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS +``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT +NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL +METASTUFF, LTD. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED +OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/LICENSE.txt b/LICENSE.txt deleted file mode 100644 index 7cae050c..00000000 --- a/LICENSE.txt +++ /dev/null @@ -1,40 +0,0 @@ -Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. - -Redistribution and use of this software and associated documentation -("Software"), with or without modification, are permitted provided -that the following conditions are met: - -1. Redistributions of source code must retain copyright - statements and notices. Redistributions must also contain a - copy of this document. - -2. Redistributions in binary form must reproduce the - above copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - -3. The name "DOM4J" must not be used to endorse or promote - products derived from this Software without prior written - permission of MetaStuff, Ltd. For written permission, - please contact dom4j-info@metastuff.com. - -4. Products derived from this Software may not be called "DOM4J" - nor may "DOM4J" appear in their names without prior written - permission of MetaStuff, Ltd. DOM4J is a registered - trademark of MetaStuff, Ltd. - -5. Due credit should be given to the DOM4J Project - - http://www.dom4j.org - -THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS -``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT -NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL -METASTUFF, LTD. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED -OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README b/README new file mode 100644 index 00000000..985fc166 --- /dev/null +++ b/README @@ -0,0 +1,3 @@ +# DOM4J + +DOM4J is an open source framework for processing XML which is integrated with XPath and fully supports DOM, SAX, JAXP and the Java platform such as Java 2 Collections. \ No newline at end of file diff --git a/TODO.txt b/TODO similarity index 100% rename from TODO.txt rename to TODO diff --git a/build.gradle b/build.gradle new file mode 100644 index 00000000..863b212a --- /dev/null +++ b/build.gradle @@ -0,0 +1,36 @@ +apply plugin: 'java' + +version = '2.0.0' + +sourceCompatibility = 1.5 + +compileJava { + options.encoding = 'UTF-8' +}; + +repositories { + mavenCentral() +} + +dependencies { + compile( + 'jaxen:jaxen:1.1.6', + + 'net.java.dev.msv:xsdlib:2013.6.1', + 'org.ogce:xpp5:1.2.8', + 'pull-parser:pull-parser:2', + ) + + testCompile( + 'org.testng:testng:6.8.21', + + 'junitperf:junitperf:1.8', + + 'xerces:xercesImpl:2.11.0', + 'xalan:xalan:2.7.2', + ) +} + +task wrapper(type: Wrapper) { + gradleVersion = '2.4' +} \ No newline at end of file diff --git a/build.xml b/build.xml deleted file mode 100644 index 7f7c6355..00000000 --- a/build.xml +++ /dev/null @@ -1,715 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/checkstyle.xml b/checkstyle.xml deleted file mode 100644 index 7e834dc0..00000000 --- a/checkstyle.xml +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dom4j.iml b/dom4j.iml new file mode 100644 index 00000000..0703d021 --- /dev/null +++ b/dom4j.iml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/gump.xml b/gump.xml deleted file mode 100644 index e736a786..00000000 --- a/gump.xml +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - The flexible XML framework for Java - - - - - - - org.dom4j - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sxt - xpp - - - - - - - - \ No newline at end of file diff --git a/jalopy.xml b/jalopy.xml deleted file mode 100644 index 03e4b8d2..00000000 --- a/jalopy.xml +++ /dev/null @@ -1,378 +0,0 @@ - - - - - 14 - - - - - false - - - [A-Z][a-zA-Z0-9]+ - [A-Z][a-zA-Z0-9]+ - - - [a-z][\w]+ - [a-z][\w]+ - [a-zA-Z][\w]+ - [a-z][\w]+ - [a-z][\w]+ - [a-zA-Z][\w]+ - [a-z][\w]+ - [a-z][\w]+ - [a-zA-Z][\w]+ - [a-z][\w]+ - [a-z][\w]+ - [a-zA-Z][\w]+ - - [A-Z][a-zA-Z0-9]+ - \w+ - - [a-z][\w]+ - [a-z][\w]+ - [a-z][\w]+ - [a-z][\w]+ - [a-z][\w]+ - [a-z][\w]+ - [a-z][\w]+ - [a-z][\w]+ - [a-z][\w]+ - [a-z][\w]+ - [a-z][\w]+ - [a-z][\w]+ - - [a-z]+(?:\.[a-z]+)* - - [a-z][\w]+ - [a-z][\w]+ - - [a-z][\w]* - - - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - false - - - - 6 - - - - 30000 - 30000 - 30000 - 30000 - 30000 - 30000 - - true - - - 1 - - - - true - false - true - false - false - - - bak - 0 - - - - 1 - 0 - 1 - 0 -
1
-
1
- 1 - 1 - 1 - 1 -
- - 1 - 0 - 1 - - 1 - 1 - 1 - - 1 - 1 -
4
-
0
-
- 1 -
- - - false - false - - - true - true - true - true - - - false - false - false - false - false - - - false - false - - - - true - true - - - - false - - - - false - true - true - - true - - 0 - 0 - 0 - 0 - - false - - - - - - - */ - * @throws $exceptionType$ DOCUMENT ME! - * @param $paramType$ DOCUMENT ME! - * @return DOCUMENT ME! - /**| * DOCUMENT ME! - - - - - false - false - false - - - - - false - false - - Inner Classes - Constructors - Instance fields - Instance initializers - Inner Interfaces - Methods - Static fields/initializers - - - - -
- MetaStuff - 20 - /*| * Redistribution and use of this software and associated documentation| * ("Software"), with or without modification, are permitted provided| * that the following conditions are met:| *| * 1. Redistributions of source code must retain copyright| * statements and notices. Redistributions must also contain a| * copy of this document.| *| * 2. Redistributions in binary form must reproduce the| * above copyright notice, this list of conditions and the| * following disclaimer in the documentation and/or other| * materials provided with the distribution.| *| * 3. The name "DOM4J" must not be used to endorse or promote| * products derived from this Software without prior written| * permission of MetaStuff, Ltd. For written permission,| * please contact dom4j-info@metastuff.com.| *| * 4. Products derived from this Software may not be called "DOM4J"| * nor may "DOM4J" appear in their names without prior written| * permission of MetaStuff, Ltd. DOM4J is a registered| * trademark of MetaStuff, Ltd.| *| * 5. Due credit should be given to the DOM4J Project -| * http://www.dom4j.org| *| * THIS SOFTWARE IS PROVIDED BY METASTUFF, LTD. AND CONTRIBUTORS| * ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT| * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND| * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL| * METASTUFF, LTD. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,| * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES| * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR| * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)| * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,| * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)| * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED| * OF THE POSSIBILITY OF SUCH DAMAGE.| *| * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.| */ - true -
-
- MetaStuff - 20 - /*| * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.| *| * This software is open source.| * See the bottom of this file for the licence.| */ - true -
- - disabled - - - - 3 - *:0|java:1|javax:1|org:2 - - disabled - true - - - true - - true - false - - false - - - true - - - 1 - 1 - 0 - 1 - 4 - 55 - -1 - 4 - -1 - 0 - 8 - -1 - 1 - - - false - false - - - - false - false - true - false - true - false - - - - false - false - false - false - false - static|field|initializer|constructor|method|interface|class - false - - - true - public|protected|private|abstract|static|final|synchronized|transient|volatile|native|strictfp - - - - - true - true - true - - - true - false - false - false - - false - - - false - false - true - - - - false - false - - true - true - true - true - true - true - - false - false - - - - - - 1 - false - false - false - - false - - false - false - - false - - - false - false - false - false - - - false - false - false - - - - true - false - 80 - - - - true - false - false - - false - false - false - - - - false - - false - - -
-
- diff --git a/lib/CVS/Entries b/lib/CVS/Entries deleted file mode 100644 index 6818eb79..00000000 --- a/lib/CVS/Entries +++ /dev/null @@ -1,9 +0,0 @@ -/jaxen-20050419.192021.jar/1.1/Tue Apr 19 19:52:56 2005/-kb/ -/jaxme-api-0.3.jar/1.1/Mon Aug 2 18:44:05 2004/-kb/ -/jsr173_1.0_api.jar/1.1/Sun Mar 28 21:03:33 2004/-kb/ -/msv-20030807.jar/1.1/Tue Apr 20 11:46:22 2004/-kb/ -/pull-parser-2.jar/1.1/Tue Apr 20 11:46:23 2004/-kb/ -/relaxngDatatype-20030807.jar/1.1/Tue Apr 20 11:46:23 2004/-kb/ -/xpp3-1.1.3.3.jar/1.1/Wed Sep 8 19:31:10 2004/-kb/ -/xsdlib-20030807.jar/1.1/Tue Apr 20 11:46:27 2004/-kb/ -D diff --git a/lib/CVS/Entries.Log b/lib/CVS/Entries.Log deleted file mode 100644 index 33354f1d..00000000 --- a/lib/CVS/Entries.Log +++ /dev/null @@ -1,7 +0,0 @@ -A D/endorsed//// -A D/fop//// -A D/test//// -A D/tool//// -A D/tools//// -R D/tool//// -R D/fop//// diff --git a/lib/CVS/Repository b/lib/CVS/Repository deleted file mode 100644 index 95aea53c..00000000 --- a/lib/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/lib diff --git a/lib/CVS/Root b/lib/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/lib/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/lib/endorsed/CVS/Entries b/lib/endorsed/CVS/Entries deleted file mode 100644 index 0c52252d..00000000 --- a/lib/endorsed/CVS/Entries +++ /dev/null @@ -1,2 +0,0 @@ -/xml-apis-2.0.2.jar/1.1/Tue Apr 20 11:46:27 2004/-kb/ -D diff --git a/lib/endorsed/CVS/Repository b/lib/endorsed/CVS/Repository deleted file mode 100644 index 81ee731f..00000000 --- a/lib/endorsed/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/lib/endorsed diff --git a/lib/endorsed/CVS/Root b/lib/endorsed/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/lib/endorsed/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/lib/test/CVS/Entries b/lib/test/CVS/Entries deleted file mode 100644 index 30d60166..00000000 --- a/lib/test/CVS/Entries +++ /dev/null @@ -1,4 +0,0 @@ -/JUnitPerf_LICENSE/1.1/Tue Apr 20 11:46:29 2004// -/jsr173_1.0_ri.jar/1.1/Wed Jul 14 19:32:23 2004/-kb/ -/junitperf-1.8.jar/1.1/Tue Apr 20 11:46:29 2004/-kb/ -D diff --git a/lib/test/CVS/Repository b/lib/test/CVS/Repository deleted file mode 100644 index 29c4b4f8..00000000 --- a/lib/test/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/lib/test diff --git a/lib/test/CVS/Root b/lib/test/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/lib/test/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/lib/test/JUnitPerf_LICENSE b/lib/test/JUnitPerf_LICENSE deleted file mode 100644 index b67ea48c..00000000 --- a/lib/test/JUnitPerf_LICENSE +++ /dev/null @@ -1,29 +0,0 @@ -Copyright (C) 2001 Clarkware Consulting, Inc. -All Rights Reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - 3. Neither the name of Clarkware Consulting, Inc. nor the names of its - contributors may be used to endorse or promote products derived - from this software without prior written permission. For written - permission, please contact clarkware@clarkware.com. - -THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, -INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL -CLARKWARE CONSULTING OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, -OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, -EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/lib/tools/CVS/Entries b/lib/tools/CVS/Entries deleted file mode 100644 index 7286141c..00000000 --- a/lib/tools/CVS/Entries +++ /dev/null @@ -1,9 +0,0 @@ -/clover.license/1.1/Fri Sep 3 18:56:30 2004// -/isorelax-20030108.jar/1.1/Tue Apr 20 11:46:30 2004/-kb/ -/jaxme-0.3.jar/1.1/Mon Aug 2 18:44:05 2004/-kb/ -/jaxme-js-0.3.jar/1.1/Mon Aug 2 18:44:06 2004/-kb/ -/jaxme-xs-0.3.jar/1.1/Mon Aug 2 18:44:06 2004/-kb/ -/jtidy-4aug2000r7-dev.jar/1.1/Tue Apr 20 11:46:30 2004/-kb/ -/xalan-2.5.1.jar/1.1/Mon May 10 11:58:29 2004/-kb/ -/xercesImpl-2.6.2.jar/1.1/Tue Apr 20 11:46:30 2004/-kb/ -D diff --git a/lib/tools/CVS/Repository b/lib/tools/CVS/Repository deleted file mode 100644 index 937f4ce5..00000000 --- a/lib/tools/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/lib/tools diff --git a/lib/tools/CVS/Root b/lib/tools/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/lib/tools/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/lib/tools/clover.license b/lib/tools/clover.license deleted file mode 100644 index 1d8c856b..00000000 --- a/lib/tools/clover.license +++ /dev/null @@ -1,164 +0,0 @@ -Product: Clover -License: Open Source License, 0.x, 1.x -Issued: Mon Apr 19 2004 20:06:14 CDT -Expiry: Never -Key: 1396f93a739a4dc9ac350277e -Name: Maarten Coene -Org: dom4j -Certificate: AAABhW+Ow8B7/zEbxOMqqKwwrdpP+a1COmJGHco7sCNLjHkHnajPF+dQW -Ct12PMy0uml0s9xuus5wKngJ9OFk5TFeh01dzQF66bhXH1bvegLfvja3Kle6BYtDv4LZgE -gk3E0aJN4IbgTn+TgUckSevXDR4KzK77NWJfrVzkxV3/Jerg/Q7IjCbX2gEysSyZKJen1e -/KmvMnPcfTUNYOj6HT1483QqnhPOWFsBfC77ggTTr2uQmWq3MzTQfAKPFy3LHNEKtZUPnG -Oayn9MYKn6lmaEzXqkkrLrzG3xhP5oUU1LFdl2T/WJkv0K0aW4dJSu103bnXS7mbk/qDJ3 -m2nrSTGvuM92O7Wz6BkUlp6OBju6ewTAk7T9ltmt9vL1lSVECEPtzRyAnPHUC5463gr9iu -X5PEC6hs/5tVFy7Y2qNZJ06NXImEZOIMtqycA5SxHlPGOCKpHP0Rj0u8y7OmixYx99ME/0 -aHvIN/gzIauaAAlZmw27rvuBAUF0+Zfef7Hzc5dogw6CaZOdHy9O97xdLJTuUGukfFG7fU -E18eDhBKchl23D/fi8RtvYF3qxudf0kJFAnEK+WGlUSvcGVZGfe5hEwS82OspRmlux/e15 -+54Zk7l5CyZg60Qjh28vSoIKJbpiBksQ8o8ZOaAfsJZyOjeK8H06fBCUVOZFGsf3uZ8gW4 -zNxC5yyw= -License Agreement: CLOVER VERSION 1 (ONE) SOFTWARE LICENSE AGREEMENT - -1. Licenses and Software - -Cortex eBusiness Pty Ltd, an Australian Proprietary Limited Company -("CENQUA") hereby grants to the purchaser (the "LICENSEE") a limited, -revocable, worldwide, non-exclusive, non-transferable, -non-sublicensable license to use the Clover version 1 (one) software -(the "Software"), including any minor upgrades thereof during the Term -(hereinafter defined) up to, but not including the next major version -of the Software. The licensee shall not, or knowingly allow others to, -reverse engineer, decompile, disassemble, modify, adapt, create -derivative works from or otherwise attempt to derive source code from -the Software provided. And, in accordance with the terms and -conditions of this Software License Agreement (the "Agreement"), the -Software shall be used solely by the licensed users in accordance with -the following edition specific conditions: - -a) Server Edition - -A Server Edition license entitles the Licensee to execute one instance -of Clover Server Edition on one (1) machine for the purposes of -instrumenting source code and generating reports. There are no -limitations on the use of the instrumented source code or generated -reports produced by Server Edition. - -b) Workstation Edition - -A Workstation Edition license entitles the licensee to use Clover -Workstation Edition on one (1) machine by one (1) individual end -user. Workstation Edition does not permit the generation of reports -for distribution. - -c) Team Edition - -A Team Edition license entitles the licensee to use Clover Team -edition on any number of machines solely by the licensed number of -users. Reports generated by Clover Team Edition are strictly for use -only by the licensed number of individual end users. - -2. License Fee - -In exchange for the License(s), the Licensee shall pay to Cenqua a -one-time, up front, non-refundable license fee. At the sole discretion -of Cenqua this fee will be waived for non-commercial -projects. Notwithstanding the Licensee's payment of the License Fee, -Cenqua reserves the right to terminate the License if Cenqua discovers -that the Licensee and/or the Licensee's use of the Software is in -breach of this Agreement. - -3. Proprietary Rights - -Cenqua will retain all right, title and interest in and to the -Software, all copies thereof, and Cenqua website(s), software, and -other intellectual property, including, but not limited to, ownership -of all copyrights, look and feel, trademark rights, design rights, -trade secret rights and any and all other intellectual property and -other proprietary rights therein. The Licensee will not directly or -indirectly obtain or attempt to obtain at any time, any right, title -or interest by registration or otherwise in or to the trademarks, -service marks, copyrights, trade names, symbols, logos or designations -or other intellectual property rights owned or used by Cenqua. All -technical manuals or other information provided by Cenqua to the -Licensee shall be the sole property of Cenqua. - -4. Term and Termination - -Subject to the other provisions hereof, this Agreement shall commence -upon the Licensee's opting into this Agreement and continue until the -Licensee discontinues use of the Software or the Agreement terminates -automatically upon the Licensee's breach of any term or condition of -this Agreement (the "Term"). Upon any such termination, the Licensee -will delete the Software immediately. - -5. Copying & Transfer - -The Licensee may copy the Software for back-up purposes only. The -Licensee may not assign or otherwise transfer the Software to any -third party. - -6. Specific Disclaimer of Warranty and Limitation of Liability - -THE SOFTWARE IS PROVIDED WITHOUT WARRANTY OF ANY KIND. CENQUA -DISCLAIMS ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING BUT NOT -LIMITED TO THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -PARTICULAR PURPOSE. CENQUA WILL NOT BE LIABLE FOR ANY DAMAGES -ASSOCIATED WITH THE SOFTWARE, INCLUDING, WITHOUT LIMITATION, ORDINARY, -INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES OF ANY KIND, INCLUDING -BUT NOT LIMITED TO DAMAGES RELATING TO LOST DATA OR LOST PROFITS, EVEN -IF CENQUA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. Warranties and Representations - -Licensee Indemnification. CENQUA agrees to indemnify, defend and hold -the Licensee harmless from and against any and all liabilities, -damages, losses, claims, costs, and expenses (including reasonable -legal fees) arising out of or resulting from the Software or the use -thereof infringing upon, misappropriating or violating any patents, -copyrights, trademarks, or trade secret rights or other proprietary -rights of persons, firms or entities who are not parties to this -Agreement. - -CENQUA Indemnification. The Licensee warrants and represents that the -Licensee's actions with regard to the Software will be in compliance -with all applicable laws; and the Licensee agrees to indemnify, -defend, and hold CENQUA harmless from and against any and all -liabilities, damages, losses, claims, costs, and expenses (including -reasonable legal fees) arising out of or resulting from the -Licensee's failure to observe the use restrictions set forth herein. - -8. Publicity - -The Licensee grants permission for CENQUA to use Licensee's name -solely in customer lists. CENQUA shall not, without prior consent in -writing, use the Licensee's name, or that of its affiliates, in any -form with the specific exception of customer lists. CENQUA agrees to -remove Licensee's name from any and all materials within 7 days if -notified by the Licensee in writing. - -9. Governing Law - -This Agreement shall be governed by the laws of New South Wales, -Australia. - -10. Independent Contractors - -The parties are independent contractors with respect to each other, -and nothing in this Agreement shall be construed as creating an -employer-employee relationship, a partnership, agency relationship or -a joint venture between the parties. - -11. Assignment - -This Agreement is not assignable or transferable by the Licensee. -CENQUA in its sole discretion may transfer a license to a third party -at the written request of the Licensee. - -12. Entire Agreement - -This Agreement constitutes the entire agreement between the parties -concerning the Licensee's use of the Software. This Agreement -supersedes any prior verbal understanding between the parties and any -Licensee purchase order or other ordering document, regardless of -whether such document is received by CENQUA before or after execution -of this Agreement. This Agreement may be amended only in writing by -CENQUA. diff --git a/maven.xml b/maven.xml deleted file mode 100644 index 47c6394b..00000000 --- a/maven.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/project.properties b/project.properties deleted file mode 100644 index 1f128a54..00000000 --- a/project.properties +++ /dev/null @@ -1,61 +0,0 @@ -# ------------------------------------------------------------------- -# P R O J E C T P R O P E R T I E S -# ------------------------------------------------------------------- -maven.repo.remote=http://www.ibiblio.org/maven - -maven.junit.fork=true - -maven.compile.debug = on -maven.compile.optimize = off -maven.compile.deprecation = on -maven.compile.target = 1.3 -maven.compile.source = 1.3 - -maven.jarResources.basedir = ${basedir}/src/java - -# ------------------------------------------------------------------------ -# M A V E N J A R O V E R R I D E -# ------------------------------------------------------------------------ -maven.jar.override = on - -# ------------------------------------------------------------------------ -# J A L O P Y S E T T I N G S -# ------------------------------------------------------------------------ -maven.jalopy.style = jalopy.xml -maven.jalopy.filesetExclude = org/dom4j/tree/ConcurrentReaderHashMap.java - -maven.checkstyle.properties = ${basedir}/checkstyle.xml -maven.checkstyle.excludes = org/dom4j/tree/ConcurrentReaderHashMap.java - -# ------------------------------------------------------------------------ -# Jars set explicity by path. -# ------------------------------------------------------------------------ -maven.jar.stax = ${basedir}/lib/jsr173_1.0_api.jar -maven.jar.stax-ri = ${basedir}/lib/test/jsr173_1.0_ri.jar -maven.jar.jaxen = ${basedir}/lib/jaxen-20050419.192021.jar - -# ------------------------------------------------------------------- -# J A V A D O C P R O P E R T I E S -# ------------------------------------------------------------------- - -# Display the date on the Maven web site -maven.xdoc.date = left - -# Display the maven version the web site is documenting -maven.xdoc.version = ${pom.currentVersion} - -maven.javadoc.links = http://java.sun.com/j2se/1.3/docs/api/, http://java.sun.com/xml/jaxp/dist/1.1/docs/api/ - -# ------------------------------------------------------------------- -# D O C P R O P E R T I E S -# ------------------------------------------------------------------- - -maven.ui.banner.background = #fff -maven.ui.banner.foreground = #000 - - -# ------------------------------------------------------------------- -# C L O V E R P R O P E R T I E S -# ------------------------------------------------------------------- -maven.clover.license.path = ${basedir}/lib/tools/clover.license -maven.clover.excludes = org/dom4j/persistence/** \ No newline at end of file diff --git a/project.xml b/project.xml deleted file mode 100644 index e38521c4..00000000 --- a/project.xml +++ /dev/null @@ -1,293 +0,0 @@ - - - - 3 - dom4j - dom4j - 1.7-SNAPSHOT - - - MetaStuff Ltd. - http://sourceforge.net/projects/dom4j - http://sourceforge.net/sflogo.php?group_id=16035 - - /images/logo.gif - - 2001 - - org.dom4j - - - Core Developer API - org.dom4j,org.dom4j.io - - - Utility classes - org.dom4j.util - - - XRule engine for declarative XSLT style processing - org.dom4j.rule,org.dom4j.rule.* - - - Alternative dom4j implementations - org.dom4j.datatype,org.dom4j.dom,org.dom4j.bean - - - Swing helper classes - org.dom4j.swing - - - Implementation classes - org.dom4j.tree,org.dom4j.dtd,org.dom4j.xpp,org.dom4j.xpath - - - - - dom4j : XML framework for Java - dom4j - - dom4j: the flexible XML framework for Java - http://dom4j.org - - http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dom4j/dom4j/ - dom4j/dom4j - http://sourceforge.net/tracker/?group_id=16035 - - dom4j.org - /home/groups/d/do/dom4j/htdocs - - - - scm:cvs:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dom4j:dom4j - scm:cvs:ext:${maven.username}@cvs.sourceforge.net:/cvsroot/dom4j:dom4j - http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dom4j/dom4j/ - - - - - - dom4j user list - http://lists.sourceforge.net/lists/listinfo/dom4j-user - http://lists.sourceforge.net/lists/listinfo/dom4j-user - http://www.mail-archive.com/dom4j-user%40lists.sourceforge.net/ - - - - dom4j developer list - http://lists.sourceforge.net/lists/listinfo/dom4j-dev - http://lists.sourceforge.net/lists/listinfo/dom4j-dev - http://www.mail-archive.com/dom4j-dev%40lists.sourceforge.net/ - - - - dom4j commits list - http://lists.sourceforge.net/lists/listinfo/dom4j-commits - http://lists.sourceforge.net/lists/listinfo/dom4j-commits - - - - - - - - Curt Arnold - carnold - carnold@users.sourceforge.net - - - David Lucas - ddlucas - ddlucas@users.sourceforge.net - - - David White - drwhite - drwhite@users.sourceforge.net - - - Jakob Jenkov - jjenkov - jjenkov@users.sourceforge.net - - - James Strachan - jstrachan - jstrachan@apache.org - SpiritSoft, Inc. - - - Laramie Crocker - laramiec - laramiec@users.sourceforge.net - - - Maarten Coene - maartenc - maartenc@users.sourceforge.net - Cronos - - - Michael Skells - mskells - mskells@users.sourceforge.net - - - Nick Sanderson - nicksanderson - nicksanderson@users.sourceforge.net - - - Steen Lehmann - slehmann - slehmann@users.sourceforge.net - - - Tobias Rademacher - tradem - tradem@users.sourceforge.net - - - Bob McWhirter - werken - werken@users.sourceforge.net - - - Todd Wolff - wolfftw - wolfftw@users.sourceforge.net - - - OuYang Chen - yeekee - yeekee@users.sourceforge.net - - - Yuxin Ruan - yruan2 - yruan2@users.sourceforge.net - - - - - - - - - jaxme - jaxme-api - 0.3 - http://ws.apache.org/jaxme/index.html - - - - jaxen - jaxen - 20050419.192021 - http://jaxen.codehaus.org/ - - - - msv - xsdlib - 20030807 - https://msv.dev.java.net/ - - - - msv - relaxngDatatype - 20030807 - https://msv.dev.java.net/ - - - - pull-parser - pull-parser - 2 - http://www.extreme.indiana.edu/xgws/xsoap/xpp/ - - - - xpp3 - xpp3 - 1.1.3.3 - http://www.extreme.indiana.edu/xgws/xsoap/xpp/ - - - - stax - stax - 1.0 - http://jcp.org/aboutJava/communityprocess/final/jsr173/index.html - - - - xml-apis - xml-apis - 2.0.2 - http://xml.apache.org/xerces2-j/index.html - - - - - - junitperf - junitperf - 1.8 - http://www.clarkware.com/software/JUnitPerf.html - - - - stax - stax-ri - 1.0 - http://dev2dev.bea.com/technologies/stax/index.jsp - - - - xerces - xercesImpl - 2.6.2 - http://xml.apache.org/xerces2-j/index.html - - - - xalan - xalan - 2.5.1 - http://xml.apache.org/xalan-j/index.html - - - - - - src/java - src/test - - - - - **/*Test.java - - - - dom4j-dev@lists.sourceforge.net - - - - maven-changelog-plugin - maven-changes-plugin - maven-checkstyle-plugin - maven-clover-plugin - maven-developer-activity-plugin - maven-faq-plugin - maven-file-activity-plugin - maven-javadoc-plugin - maven-jdepend-plugin - maven-junit-report-plugin - maven-jxr-plugin - maven-license-plugin - - - diff --git a/readme.html b/readme.html deleted file mode 100644 index 44f73b66..00000000 --- a/readme.html +++ /dev/null @@ -1,134 +0,0 @@ - - - -<dom4j> the flexible XML framework for Java - - - - - - - - - - - -
<dom4j>The flexible XML framework for Java
 
- - - - - - - - - - - - - - - - - - - - - -
-

Introduction

-
-

Thank you for downloading DOM4J we hope you find it useful.

- -

DOM4J is an open source framework for processing XML which is integrated with XPath and fully supports DOM, SAX, JAXP and the Java platform such as Java 2 Collections.

- -

 

-
-

Building instructions

-
-

The build process in DOM4J uses Ant. The prerequisites for running the Ant build system included with this release are that:-

- -
    -
  • -

    You have a JDK installed on your machine such that the java executable is in your PATH

    -
  • - -
  • -

    You have the JAVA_HOME environment variable defined to point to the directory in which the JDK is installed. For example on Windows this might be C:\jdk1.3 -or on Unix it might be /usr/local/jdk1.3.

    -
  • -
- -

In the root directory of this distribution there should be a script which runs on most popular operating systems to build a supplied target using Ant. 

- -

Choose the most suitable script for your platform from the scripts below and typing in the command line expression on the right hand side should display a list of available targets in the Ant -build system.

- - - - - - - - - - - - - - - - - - - -
Operating SystemScriptCommand line
Windows (NT, 2000)build.batbuild usage
Unixes (Linux, Solaris etc).build.sh./build.sh usage
- -

 

-
-

Running the example programs

-
- -

There are a collection of sample programs that come with the DOM4J distribution. To run any of them you should first build the examples using Ant.

- - - - - - - - - - - - - - - - -
Operating SystemCommand line
Windows (NT, 2000)build samples
Unixes (Linux, Solaris etc)../build.sh samples
- -

Once that is done there is a run script to run a sample program which sets up the CLASSPATH correctly.

- - - - - - - - - - - - - - - - - - - -
Operating SystemCommand lineExample
Windows (NT, 2000)run <className> <arguments>run SAXDemo xml\web.xml
Unixes (Linux, Solaris etc)../run.sh <className> <arguments>./run.sh SAXDemo xml/web.xml
- - - diff --git a/src/conf/CVS/Entries b/src/conf/CVS/Entries deleted file mode 100644 index a61c28d5..00000000 --- a/src/conf/CVS/Entries +++ /dev/null @@ -1,5 +0,0 @@ -/MANIFEST.MF/1.6/Thu May 23 19:49:25 2002// -/repository.dtd/1.1/Fri Aug 31 13:40:26 2001// -/repository.xml/1.2/Mon May 20 08:14:17 2002// -/xsa.xml/1.7/Mon May 20 08:14:17 2002// -D diff --git a/src/conf/CVS/Repository b/src/conf/CVS/Repository deleted file mode 100644 index e4c444cc..00000000 --- a/src/conf/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/conf diff --git a/src/conf/CVS/Root b/src/conf/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/conf/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/conf/MANIFEST.MF b/src/conf/MANIFEST.MF deleted file mode 100644 index bf7525ce..00000000 --- a/src/conf/MANIFEST.MF +++ /dev/null @@ -1 +0,0 @@ -Manifest-Version: 1.0 Extension-Name: org.dom4j Specification-Title: dom4j Specification-Version: 1.3 Specification-Vendor: MetaStuff Ltd. Created-By: Ant 1.4.1 Implementation-Vendor: MetaStuff Ltd. Implementation-Version: 1.3 Implementation-Title: dom4j diff --git a/src/conf/repository.dtd b/src/conf/repository.dtd deleted file mode 100644 index 55d54410..00000000 --- a/src/conf/repository.dtd +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/src/conf/repository.xml b/src/conf/repository.xml deleted file mode 100644 index c37bc958..00000000 --- a/src/conf/repository.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - dom4j: the flexible XML framework for Java - http://dom4j.org - - - - - production - dom4j-1.0.jar - - - - - - - current CVS HEAD - dom4j-daily.jar - - - - - - - - - - - diff --git a/src/conf/xsa.xml b/src/conf/xsa.xml deleted file mode 100644 index bf31f456..00000000 --- a/src/conf/xsa.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - MetaStuff Ltd. - info@dom4j.org - http://dom4j.org - - - - dom4j - 1.3 - 20020317 - http://dom4j.org/ - -dom4j is a simple and flexible open source library for working with XML, -XPath and XSLT on the Java platform using the Java Collections Framework -with full integration with DOM, SAX and JAXP. - -This release is primarily a bug fix release. - - - diff --git a/src/doc/CVS/Entries b/src/doc/CVS/Entries deleted file mode 100644 index 5640a88f..00000000 --- a/src/doc/CVS/Entries +++ /dev/null @@ -1 +0,0 @@ -D/style//// diff --git a/src/doc/CVS/Repository b/src/doc/CVS/Repository deleted file mode 100644 index 09b33cb3..00000000 --- a/src/doc/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/doc diff --git a/src/doc/CVS/Root b/src/doc/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/doc/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/doc/style/CVS/Entries b/src/doc/style/CVS/Entries deleted file mode 100644 index 1b3c3970..00000000 --- a/src/doc/style/CVS/Entries +++ /dev/null @@ -1,2 +0,0 @@ -/javadoc.css/1.3/Wed Apr 9 16:32:28 2003// -D diff --git a/src/doc/style/CVS/Entries.Log b/src/doc/style/CVS/Entries.Log deleted file mode 100644 index 11c0e0bd..00000000 --- a/src/doc/style/CVS/Entries.Log +++ /dev/null @@ -1,2 +0,0 @@ -A D/images//// -R D/images//// diff --git a/src/doc/style/CVS/Repository b/src/doc/style/CVS/Repository deleted file mode 100644 index cecc01ae..00000000 --- a/src/doc/style/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/doc/style diff --git a/src/doc/style/CVS/Root b/src/doc/style/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/doc/style/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/doc/style/javadoc.css b/src/doc/style/javadoc.css deleted file mode 100644 index d6aad9d8..00000000 --- a/src/doc/style/javadoc.css +++ /dev/null @@ -1,27 +0,0 @@ -/* Apache Javadoc style sheet */ - -/* Page background color */ -body { background-color: #FFFFFF } - -/* Table colors */ -.TableHeadingColor { background: #D0D0D0 } -.TableSubHeadingColor { background: #E0E0E0 } -.TableRowColor { background: #F9F9F9 } - -/* Navigation bar fonts and colors */ -.NavBarCell1 { background-color:#D0D0D0;} -.NavBarCell1Rev { background-color:#A0A0A0;} -.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} -.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} -.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#E0E0E0;} -.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#F0F0F0;} - -/* Font used in left-hand frame lists */ -.FrameTitleFont { font-size: normal; font-family: Helvetica, Arial, sans-serif } -.FrameHeadingFont { font-size: normal; font-family: Helvetica, Arial, sans-serif } -.FrameItemFont { font-size: 10pt; font-family: Helvetica, Arial, sans-serif } - -/* Link colors styling */ -A:link { color: #0000A0 } /* unvisited link */ -A:visited { color: #A00000 } /* visited links */ -A:active { color: #00A000 } /* active links */ diff --git a/src/docbook/CVS/Entries b/src/docbook/CVS/Entries deleted file mode 100644 index 8f2d0aab..00000000 --- a/src/docbook/CVS/Entries +++ /dev/null @@ -1,2 +0,0 @@ -/cookbook.xml/1.5/Tue Aug 17 18:24:26 2004// -D diff --git a/src/docbook/CVS/Repository b/src/docbook/CVS/Repository deleted file mode 100644 index 1b55aeb5..00000000 --- a/src/docbook/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/docbook diff --git a/src/docbook/CVS/Root b/src/docbook/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/docbook/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/docbook/cookbook.xml b/src/docbook/cookbook.xml deleted file mode 100644 index 905a4371..00000000 --- a/src/docbook/cookbook.xml +++ /dev/null @@ -1,1936 +0,0 @@ - - - - - - -dom4j cookbook - - MrTobiasRademacher - MrJamesStrachan - - - - 0.1.0 - 02-05-09 - tradem - - - Fixed typos - Better understable description of some situations - Use of programlistingco for rule API - - - - - 0.0.9 - 02-05-01 - tradem - - - Added rule API description & samples - Added JRV API sample to schemata chapter - Used width constrains for programlistings - Extented XPath samples - - - - - 0.0.8 - 01-09-25 - tradem - - Fixed the MSV sample in order make it compilable. Lot's of thanks to Martijn Koster for pointing that out. - - - - 0.0.7 - 01-09-03 - tradem - - - Completed the Schema chapter. - Fixed the XPath sample. - - - - - 0.0.6 - 01-08-03 - jstrachan - - - Fixed a few typos and corrected the odd bit of grammar and code. - - - - - 0.0.5 - 01-07-09 - tradem - - - Fixing xml structure mistake - Make Writer samples dom4j 0.6 compliant - - - - - 0.0.4 - 01-07-06 - tradem - - - Fixing spelling/gramma mistakes - Complete vistor listing - - - - - 0.0.3 - 01-06-20 - tradem - - Completed doc for alpha release - - - - 0.0.2 - 01-06-06 - tradem - - Added "Secret of DocumentBuilder" and "Serialization" - - - - 0.0.1 - 01-06-02 - tradem - - Created the document - - - -September 2001 - - This document provides a practical introduction to dom4j. It guides you through by using a lot of examples and is based on dom4j v1.0 - - - - Foreword - - - - -Introducing dom4j - -dom4j is a object model representing an XML Tree in memory. -dom4j offers a easy-to-use API that provides a powerful set of -features to process, manipulate or navigate XML and work with XPath and XSLT as well as integrate with SAX, JAXP and DOM. - - -dom4j is designed to be interface-based in order to provide highly configurable implementation strategies. -You are able to create your own XML tree implementations by simply providing a DocumentFactory implementation. -This makes it very simple to reuse much of the dom4j code while extending it to provide whatever implementation features you wish. - - -This -document will guide you through dom4j's features in a practical way -using a lot of examples with source code. The document is -also designed as a reference so that you don't have to read the entire document at once. This guide concentrates on daily work with -dom4j and is therefore called cookbook. - - - -Creation of an XML Object Model using dom4j - -Normally all starts with a set of xml-files or a single xml file that you want to process, manipulate or navigate through to extract some -values necessary in your application. Most Java Open-Source projects using XML for deployment or as a replacement for property files in order -to get easily readable property data. - - -
Reading XML data - -How does dom4j help you to get at the data stored in XML? -dom4j comes with a set of -builder classes that parse the xml data and create -a tree-like object structure in memory. -You can easily manipulate and navigate through that model. -The following example shows how you can -read your data using dom4j API. - - -import java.io.File; -import org.dom4j.Document; -import org.dom4j.DocumentException; -import org.dom4j.io.SAXReader; - -public class DeployFileLoaderSample { - - /** dom4j object model representation of a xml document. Note: We use the interface(!) not its implementation */ - private Document doc; - - /** - * Loads a document from a file. - * - * @throw a org.dom4j.DocumentException occurs whenever the buildprocess fails. - */ - public void parseWithSAX(File aFile) throws DocumentException { - SAXReader xmlReader = new SAXReader(); - this.doc = xmlReader.read(aFile); - } -} - - - - - -The above example code should clarify the use of org.dom4j.io.SAXReader to -build a complete dom4j tree from a given file. -The org.dom4j.io package contains a set of classes -for creation and serialization of XML objects. -The read() method -is overloaded so that you able to pass different kind of object that represents a source. - - - - java.lang.String - a SystemId is a String that contains a URI e.g. a URL to a XML file - java.net.URL - represents a Uniform Resource Loader or a Uniform Resource Identifier. Encapsulates a URL. - java.io.InputStream - an open input stream that transports xml data - java.io.Reader - more compatible. Has abilitiy to specify encoding scheme - org.sax.InputSource - a single input source for a XML entity. - - - -Lets add more more flexibility to our DeployFileLoaderSample by adding new methods. - - - -import java.io.File; - -import org.dom4j.Document; -import org.dom4j.DocumentException; -import org.dom4j.io.SAXReader; - -public class DeployFileLoaderSample { - - /** dom4j object model representation of a xml document. Note: We use the interface(!) not its implementation */ - private Document doc; - - /** - * Loads a document from a file. - * - * @param aFile the data source - * @throw a org.dom4j.DocumentExcepiton occurs on parsing failure. - */ - public void parseWithSAX(File aFile) throws DocumentException { - SAXReader xmlReader = new SAXReader(); - this.doc = xmlReader.read(aFile); - } - - /** - * Loads a document from a file. - * - * @param aURL the data source - * @throw a org.dom4j.DocumentExcepiton occurs on parsing failure. - */ - public void parseWithSAX(URL aURL) throws DocumentException { - SAXReader xmlReader = new SAXReader(); - this.doc = xmlReader.read(aURL); - } - - -} - - -
- -
-Integrating with other XML APIs - -dom4j also offers classes for integration with -the two original XML processing APIs - SAX and DOM. -So far we have been talking about reading a document with SAX. -The org.dom4j.SAXContentHandler class implements several -SAX interfaces directly (such as ContentHandler) so that you can embed dom4j -directly inside any SAX application. -You can also use this class to implement your own specific SAX-based Reader class if you need to. - - - -The DOMReader class allows you to convert an existing DOM tree -into a dom4j tree. -This could be useful if you already used DOM and want to replace it step by step -with dom4j or if you just needs some of DOM's -behavior and want to save memory resources by transforming it in a dom4j Model. -You are able to transform a DOM Document, a DOM node branch and a single element. - - - -import org.sax.Document; - -import org.dom4j.Document; -import org.dom4j.DocumentException; -import org.dom4j.io.DOMReader; - -public class DOMIntegratorSample { - - /** converts a W3C DOM document into a dom4j document */ - public Document buildDocment(org.w3c.dom.Document domDocument) { - DOMReader xmlReader = new DOMReader(); - return xmlReader.read(domDocument); - } -} - - -
- -
The secret of DocumentFactory -We have talked a lot of reading existing XML information e.g. from files, URL's or even Streams. -Sometimes it's necessary to generate a XML document programmatically. -The class org.dom4j.DocumentFactory defines a set of factory methods to create documents, document -types, elements, attributes, unparsed character data (CDATA), a namespace, an XPath object, a NodeFilter and -some other useful instances. This makes the DocumentFactory a central class whenever you have to create -one of these instances by yourself. -
- - - -import org.dom4j.DocumentFactory; -import org.dom4j.Document; -import org.dom4j.Element; - -public class DeployFileCreator { - - private DocumentFactory factory = DocumentFactory.getInstance(); - private Document doc; - - public void generateDoc(String aRootElement) { - doc = DocumentFactory.getInstance().createDocument(); - Element root = doc.addElement(aRootElement); - } - -} - - - - -The listing shows how to generate a new Document from scratch. -The method generateDoc(String aRootElement) takes a String parameter. -The string value contains the name of the root element of the new document. -As you can see org.dom4j.DocumentFactory is a singleton -accessible via getInstance(). - -The DocumentFactory methods follow the createXXX() naming convention. -For example, if you want to create a Attribute you would -call createAttribute(). -If your class often calls DocumentFactory or uses a different DocumentFactory instance -you could add it as a member variable and initiate it via getInstance in your constructor. - - - - -import org.dom4j.DocumentFactory; -import org.dom4j.Document; -import org.dom4j.Element; - -public class GranuatedDeployFileCreator { - - private DocumentFactory factory; - private Document doc; - - public GranuatedDeployFileCreator() { - this.factory = DocumentFactory.getInstance(); - } - - public void generateDoc(String aRootElement) { - doc = factory.createDocument(); - Element root = doc.addElement(aRootElement); - } - -} - - - - - - -The Document and Element -interfaces have a number of helper methods for creating an XML document programmatically -in a simple way. - - - - -import org.dom4j.Document; -import org.dom4j.DocumentHelper; -import org.dom4j.Element; - -public class Foo { - - public Document createDocument() { - Document document = DocumentHelper.createDocument(); - Element root = document.addElement( "root" ); - - Element author2 = root.addElement( "author" ) - .addAttribute( "name", "Toby" ) - .addAttribute( "location", "Germany" ) - .addText( "Tobias Rademacher" ); - - Element author1 = root.addElement( "author" ) - .addAttribute( "name", "James" ) - .addAttribute( "location", "UK" ) - .addText( "James Strachan" ); - - return document; - } -} - - - - - - -As mentioned earlier dom4j is an interface based API. -This means that DocumentFactory and the reader classes in the org.dom4j.io package always use the org.dom4j interfaces -rather than any concrete implementation classes. -The Collection API and W3C's DOM are other examples of APIs that -use this design approach. -This widespread design is described by BillVenners. - - -
- - -Serialization and Output - - -Once you parsed or created a document you want to serialize it to disk or -into a plain (or encrypted) stream. dom4j provides a set of classes to serialize -your dom4j tree in four ways: - - - - XML - HTML - DOM - SAX Events - - -
Serializing to XML -org.dom4j.io.XMLWriter is a easy-to-use and easy-to-understand class used -to serialize a dom4j tree to a plain XML. -You are able -to write the XML tree to either an java.io.OutputStream -or a java.io.Writer. -This can be configured with the overloaded constructor or via the -setOutputStream() or setReader() methods. -Let's have a look at a example. - - - -import java.io.OutputStream; - -import org.dom4j.Document; -import org.dom4j.io.XMLWriter; -import org.dom4j.io.OutputFormat; - -public class DeployFileCreator { - - private Document doc; - - public void serializetoXML(OutputStream out, String aEncodingScheme) throws Exception { - OutputFormat outformat = OutputFormat.createPrettyPrint(); - outformat.setEncoding(aEncodingScheme); - XMLWriter writer = new XMLWriter(out, outformat); - writer.write(this.doc); - writer.flush(); - } - -} - - - -We use the XMLWriter constructor to pass -OutputStream along with the required character encoding. -It is easier to use a Writer rather than an OutputStream, -because the Writer is String based and so has less -character encoding issues. -The write() methods of Writer are overloaded so that you can write all of the dom4j objects individually if required. - - - -
Customizing the output format - -The default output format is to write the XML document as-is. -If you want to change the output format then there is a class -org.dom4j.io.OutputFormat which allows you to define pretty-printing options, -suppress output of XML declaration, change line ending and so on. -There is also a helper method OutputFormat.createPrettyPrint() which -creates a default pretty-printing format that you can further customize if you wish. - - - - - -import java.io.OutputStream; - -import org.dom4j.Document; -import org.dom4j.io.XMLWriter; -import org.dom4j.io.OutputFormat; - -public class DeployFileCreator { - - private Document doc; - - public void serializetoXML(OutputStream out, String aEncodingScheme) throws Exception { - OutputFormat outformat = OutputFormat.createPrettyPrint(); - outformat.setEncoding(aEncodingScheme); - XMLWriter writer = new XMLWriter(out, outformat); - writer.write(this.doc); - writer.flush(); - } - - -} - - - -An interesting feature of OutputFormat is the ability to set -character encoding. It is a good idiom to use this mechansim for setting the encoding -for XMLWriter to use this encoding to create an OutputStream as well -as to output XML declaration. - - - -The close() method closes the underlying Writer. - - - - -import java.io.OutputStream; - -import org.dom4j.Document; -import org.dom4j.io.XMLWriter; -import org.dom4j.io.OutputFormat; - -public class DeployFileCreator { - - private Document doc; - private OutputFormat outFormat; - - public DeployFileCreator() { - this.outFormat = OuputFormat.getPrettyPrinting(); - } - - public DeployFileCreator(OutputFormat outFormat) { - this.outFormat = outFormat; - } - - public void writeAsXML(OutputStream out) throws Exception { - XMLWriter writer = new XMLWriter(outFormat, this.outFormat); - writer.write(this.doc); - } - - public void writeAsXML(OutputStream out, String encoding) throws Exception { - this.outFormat.setEncoding(encoding); - this.writeAsXML(out); - } - -} - - - -The serialization methods in our little example set encoding using OutputFormat. -The default encoding if none is specifed is UTF-8. -If you need a simple output on screen for debugging or testing you can omit setting of -a Writer or an OutputStream completely -as XMLWriter will default to System.out. - - -
- -
- -
Printing HTML - -HTMLWriter takes a dom4j tree -and formats it to a stream as HTML. This formatter is similar to -XMLWriter but outputs the text of CDATA and Entity sections rather than the serialized -format as in XML and also supports many HTML element which have no corresponding close tag -such as for <BR> and <P> - - - - -import java.io.OutputStream; - -import org.dom4j.Document; -import org.dom4j.io.HTMLWriter; -import org.dom4j.io.OutputFormat; - -public class DeployFileCreator { - - private Document doc; - private OutputFormat outFormat; - - public DeployFileCreator() { - this.outFormat = OuputFormat.getPrettyPrinting(); - } - - public DeployFileCreator(OutputFormat outFormat) { - this.outFormat = outFormat; - } - - public void writeAsHTML(OutputStream out) throws Exception { - HTMLWriter writer = new HTMLWriter(outFormat, this.outFormat); - writer.write(this.doc); - writer.flush(); - } - -} - - -
- -
Building a DOM tree - -Sometimes it's necessary to transform your dom4j tree -into a DOM tree, because you are currently refactoring your application. -dom4j is very convenient for integration with older XML -API's like DOM or SAX -(see Generating SAX Events). Let's move to an example: - - - -import org.w3c.dom.Document; - -import org.dom4j.Document; -import org.dom4j.io.DOMWriter; - -public class DeployFileLoaderSample { - - private org.dom4j.Document doc; - - public org.w3c.dom.Document transformtoDOM() { - DOMWriter writer = new DOMWriter(); - return writer.write(this.doc); - } -} - - - -
- -
Generating SAX Events - -If you want to output a document as sax events in order to integrate with some existing SAX -code, you can use the org.dom4j.SAXWriter class. - - - - -import org.xml.ConentHandler; - -import org.dom4j.Document; -import org.dom4j.io.SAXWriter; - -public class DeployFileLoaderSample { - - private org.dom4j.Document doc; - - public void transformtoSAX(ContentHandler ctxHandler) { - SAXWriter writer = new SAXWriter(); - writer.setContentHandler(ctxHandler); - writer.write(doc); - } -} - - - - -As you can see using SAXWriter is fairly easy. -You can also pass org.dom.Element so -you are able to process a single element branch or even a single node with SAX. - -
-
- - -Navigation in dom4j - -dom4j offers several powerful mechanisms for navigating through a document: - - - - Using Iterators - Fast index based navigation - Using a backed List - Using XPath - In-Build GOF Visitor Pattern - - -
Using Iterator - -Most Java developers used java.util.Iterator or it's ancestor -java.util.Enumeration. -Both classes are part of the Collection API and used -to visit elements of a collection. -Here is an example of using Iterator: - -
- - - -import java.util.Iterator; - -import org.dom4j.Document; -import org.dom4j.Element; - -public class DeployFileLoaderSample { - - private org.dom4j.Document doc; - private org.dom4j.Element root; - - public void iterateRootChildren() { - root = this.doc.getRootElement(); - Iterator elementIterator = root.elementIterator(); - while(elementIterator.hasNext()){ - Element elmeent = (Element)elementIterator.next(); - System.out.println(element.getName()); - } - } -} - - - -The above example might be a little bit confusing if you are not familiar with the Collections API. -Casting is necessary when you want to access the object. In JDK 1.5 Java Generics solve this problem . - - - -import java.util.Iterator; - -import org.dom4j.Document; -import org.dom4j.Element; - -public class DeployFileLoaderSample { - - private org.dom4j.Document doc; - private org.dom4j.Element root; - - public void iterateRootChildren(String aFilterElementName) { - root = this.doc.getRootElement(); - Iterator elementIterator = root.elementIterator(aFilterElementName); - while(elementIterator.hasNext()){ - Element elmeent = (Element)elementIterator.next(); - System.out.println(element.getName()); - } - } -} - - - -Now the the method iterates on such Elements that have the same name as the parameterized String only. This can be used as a kind of -filter applied on top of Collection API's Iterator. - - -
Fast index based Navigation - -Sometimes if you need to walk a large tree very quickly, creating an java.io.Iterator -instance to loop through each Element's children can be too expensive. -To help this situation, dom4j provides a fast index based looping as follows. - - - - public void treeWalk(Document document) { - treeWalk( document.getRootElement() ); - } - - public void treeWalk(Element element) { - for ( int i = 0, size = element.nodeCount(); i < size; i++ ) { - Node node = element.node(i); - if ( node instanceof Element ) { - treeWalk( (Element) node ); - } - else { - // do something.... - } - } - } - - - -
Using a backed List - -You can navigate through an Element's children -using a backed List so the modifications to the -List are reflected back into the Element. -All of the methods on List can be used. - - - -import java.util.List; - -import org.dom4j.Document; -import org.dom4j.Element; - -public class DeployFileLoaderSample { - - private org.dom4j.Document doc; - - public void iterateRootChildren() { - Element root = doc.getRootElement(); - - List elements = root.elements; - - // we have access to the size() and other List methods - if ( elements.size() > 4 ) { - // now lets remove a range of elements - elements.subList( 3, 4 ).clear(); - } - } -} - - -
- -
Using XPath - -XPath is is one of the most useful features of dom4j. -You can use it to retrieve nodes from any location as well as evaluating complex expressions. -A good XPath reference can be found in Michael Kay's XSLT book XSLTReference -along with the Zvon Zvon tutorial. - -
- - -import java.util.Iterator; - -import org.dom4j.Documet; -import org.dom4j.DocumentHelper; -import org.dom4j.Element; -import org.dom4j.XPath; - -public class DeployFileLoaderSample { - - private org.dom4j.Document doc; - private org.dom4j.Element root; - - public void browseRootChildren() { - - /* - Let's look how many "James" are in our XML Document an iterate them - ( Yes, there are three James in this project ;) ) - */ - - XPath xpathSelector = DocumentHelper.createXPath("/people/person[@name='James']"); - List results = xpathSelector.selectNodes(doc); - for ( Iterator iter = result.iterator(); iter.hasNext(); ) { - Element element = (Element) iter.next(); - System.out.println(element.getName(); - } - - // select all children of address element having person element with attribute and value "Toby" as parent - String address = doc.valueOf( "//person[@name='Toby']/address" ); - - // Bob's hobby - String hobby = doc.valueOf( "//person[@name='Bob']/hobby/@name" ); - - // the second person living in UK - String name = doc.value( "/people[@country='UK']/person[2]" ); - - // select people elements which have location attriute with the value "London" - Number count = doc.numberValueOf( "//people[@location='London']" ); - - } - -} - - - -As selectNodes returns a List we can apply Iterator -or any other operation avalilable on java.util.List. -You can also select a single node via selectSingleNode() -as well as to select a String expression via valueOf() -or Number -value of an XPath expression via numberValueOf(). - - - -
Using Visitor Pattern - -The visitor pattern has a recursive behavior and acts like SAX -in the way that partial traversal is not possible. -This means complete document or complete branch will be visited. - You should carefully consider situations when you want to use Visitor pattern, but then it -offers a powerful and elegant way of navigation. -This document doesn't explain Vistor Pattern in depth, -GoF98 covers more information. - - - -import java.util.Iterator; - -import org.dom4j.Visitor; -import org.dom4j.VisitorSupport; -import org.dom4j.Document; -import org.dom4j.Element; - -public class VisitorSample { - - public void demo(Document doc) { - - Visitor visitor = new VisitorSupport() { - public void visit(Element element) { - System.out.println( - "Entity name: " + element.getName() + "text " + element.getText(); - ); - } - }; - - doc.accept( visitor ); - } -} - - - - -As you can see we used anonymous inner class to override the -VisitorSupport callback adapter method -visit(Element element) and the accept() method starts -the visitor mechanism. - -
-
-
- - -Manipulating dom4j - -Accessing XML content statically alone would not very special. Thus dom4j offers several methods for manipulation a documents content. - - -
What <classname>org.dom4j.Document</classname> provides - -A org.dom4j.Document allows you to configure and retrieve the root element. -You are also able to set the DOCTYPE or a SAX based EntityResolver. -An empty Document should be created via org.dom4j.DocumentFactory. - -
- -
Working with <classname>org.dom4j.Element</classname> - -org.dom4j.Element is a powerful interface providing many methods for manipulating Element. - - - - - public void changeElementName(String aName) { - this.element.setName(aName); - } - - public void changeElementText(String aText) { - this.element.setText(aText); - } - - -
- - -
Qualified Names - - An XML Element should have a qualified name. Normally qualified name consists normally of a Namespace and - local name. It's recommended to use org.dom4j.DocumentFactory to create Qualified - Names that are provided by org.dom4j.QName instances. - - - - - import org.dom4j.Element; - import org.dom4j.Document; - import org.dom4j.DocumentFactory; - import org.dom4j.QName; - - public class DeployFileCreator { - - protected Document deployDoc; - protected Element root; - - public void DeployFileCreator() - { - QName rootName = DocumentFactory.getInstance().createQName("preferences", "", "http://java.sun.com/dtd/preferences.dtd"); - this.root = DocumentFactory.getInstance().createElement(rootName); - this.deployDoc = DocumentFactory.getInstance().createDocument(this.root); - } - } - - - -
- -
Inserting elements - - Sometimes it's necessary to insert an element in a existing XML Tree. This is easy to do using dom4j Collection API. - - - - - public void insertElementAt(Element newElement, int index) { - Element parent = this.element.getParent(); - List list = parent.content(); - list.add(index, newElement); - } - - public void testInsertElementAt() { - - //insert an clone of current element after the current element - Element newElement = this.element.clone(); - this.insertElementAt(newElement, this.root.indexOf(this.element)+1); - - // insert an clone of current element before the current element - this.insertElementAt(newElement, this.root.indexOf(this.element)); - } - - -
- -
Cloning - How many sheep do you need? - - Elements can be cloned. Usually cloning is supported in Java with clone() method that is derived from Object. The cloneable Object has to - implement interface Cloneable. By default clone() method performs shallow copying. dom4j implements deep cloning - because shallow copies would not make sense in context of an XML object model. This means that cloning can take a while because the complete tree branch or event the document - will be cloned. Now have a short look how dom4j cloning mechanism is used. - - - - - import org.dom4j.Document; - import org.dom4j.Element; - - public class DeployFileCreator { - - - private Element cloneElement(String name) { - return this.root.element(name).clone(); - } - - private Element cloneDetachElement(String name) { - return this.root.createCopy(name); - } - - public class TestElement extends junit.framework.TestCase { - - public void testCloning() throws junit.framwork.AssertionFailedException { - assert("Test cloning with clone() failed!", this.creator.cloneElement("Key") != null); - assert("Test cloning with createCopy() failed!", this.creator.cloneDetachElement() != null); - } - } - } - - - - The difference between createCopy(...) and clone() is that first method creates a detached deep copy whereas clone() returns exact copy of the current document or element. - - - Consider use of Cloning - - Cloning might be useful when you want to build element pool. Memory consumpsion should be carefully considered during design of such pool. - Alternatively you can consider to use Reference API Pawlan98 - or Dave Millers approach JavaWorldTip76. - - - -
-
- -Using dom4j with XSLT - -With eXtensible Stylesheet Language XML got a powerfull method of transformation. XML XSL greately simplified job of developing export filters for different data formats. The transformation is done by XSL Processor. XSL covers following subjects: - - - - XSL Style Sheet - XSL Processor for XSLT - FOP Processor for FOP - An XML source - - - -Since JaXP 1.1 TraX is the common API for proceeding a XSL Stylesheet inside of Java. You start with a TransformerFactory, specify Result and Source. Source contains source xml file that should be transformed. Result contains result of the transformation. dom4j offers org.dom4j.io.DocumentResult and org.dom4j.io.DocumenSource for TrAX compatibility. -Whereas org.dom4j.io.DocumentResult contains a org.dom4j.Document as result tree, DocumentSource takes dom4j Documents and prepares them for transformation. Both classes are build on top of TraX own SAX classes. This approach has much better performance than a DOM adaptation. The following example explains the use of XSLT with TraX and dom4j. - - - -import javax.xml.transform.Transformer; -import javax.xml.transform.TransformerFactory; -import javax.xml.transform.stream.StreamSource; - -import org.dom4j.Document; -import org.dom4j.io.DocumentResult; -import org.dom4j.io.DocumentSource; - -public class DocumentStyler -{ - private Transformer transformer; - - public DocumentStyler(Source aStyleSheet) throws Exception { - // create transformer - TransformerFactory factory = TransformerFactory.newInstance(); - transformer = factory.newTransformer( aStyleSheet ); - } - - public Document transform(Document aDocument, Source aStyleSheet) throws Exception { - - // perform transformation - DocumentSource source = new DocumentSource( aDocument ); - DocumentResult result = new DocumentResult(); - transformer.transform(source, result); - - // return resulting document - return result.getDocument(); - } -} - - - - -One could use XSLT to process a XML Schema and generate an empty template xml file according the schema constraints. The code above shows how easy to do that with dom4j and its TraX support. TemplateGenerator can be shared but for this example I avoided this for simplicity. More information about TraX is provided here. - - - - - -Schemata-Support - - -First way to describe XML document structure is as old as XML itself. -Document Type Definitions are used since publishing of the XML specification. -Many applications use DTD to describe and validate documents. Unfortunately -the DTD Syntax was not that powerful. Written in SGML, DTDs are also not as easy to handle as -XML. - - - -Since then other, more powerful ways to describe XML format were invented. -The W3C published XML Schema Specification which provides significant improvements over DTD. -XML Schemas are described using XML. -A growing group of people use XML Schema now. But XML Schema isn't perfect. -So a few people swear by Relax or Relax NG. The reader of this document is able to choose one of -the following technologies: - - - - Relax NG (Regular Language description for XML Next Generation)RelaxNG - Relax (Regular Language description for XML)Relax - TREXTREX - XML DTDsDTD - XML SchemaXSD - - -
Using XML Schema Data Types in dom4j - -dom4j currently supports only XML Schema Data Types DataTypes. -The dom4j implementation is based on top of MSV. Earlier dom4j releases are built -on top of Sun Tranquilo (xsdlib.jar) library but later moved to MSV now, because MSV -provides the same Tranquilo plus exciting additional features we will discuss later. - - - -import java.util.List; - -import org.dom4j.Document; -import org.dom4j.DocumentHelper; -import org.dom4j.XPath; -import org.dom4j.io.SAXReader; -import org.dom4j.dataType.DataTypeElement; - -public class SchemaTypeDemo { - -public static void main(String[] args) { - - SAXReader reader = new SAXReader(); - reader.setDocumentFactory( DatatypeDocumentFactory.getInstance() ); - Document schema = return reader.read(xmlFile) - XPath xpathSelector = DocumentHelper.createXPath("xsd:schema/xsd:complexType[@name='Address']/xsd:structure/xsd:element[@type]"); - List xsdElements = xpathSelector.selectNodes(schema); - - for (int i=0; i < xsdElements.size(); i++) { - DataElement tempXsdElement = (DatatypeElement)xsdElements.get(i); - - if (tempXsdElement.getData() instanceof Integer) { - tempXsdElement.setData(new Integer(23)); - } - } -} - - -Alpha status - -Note that the Data Type support is still alpha. If you find any bug, please report it to -the mailing list. This helps us to make more stable Data Type support. - - - -
- - -
Validation - -Currently dom4j does not come with a validation engine. You are forced to use a external validator. -In the past we recommended Xerces, but now you are -able to use Sun Multi-Schema XML Validator. Xerces is able to validate against DTDs and -XML Schema, but not against TREX or Relax. The Suns Multi Schema Validator supports all mentioned -kinds of validation. - - -Consider use of Validation - -Validation consumes valuable resources. Use it wisely. - - - -
Using Apaches Xerces 1.4.x and dom4j for validation - -It is easy to use Xerces 1.4.x for validation. Download -Xerces from Apaches XML web sites. Experience shows that the newest version -is not always the best. -View Xerces mailing lists in order to find out issues with specific versions. -Xerces provides Schema support strarting from 1.4.0. - - - - Turn on validation mode - which is false for default - using a SAXReader instance - Set the following Xerces property http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation using the schema URI. - Create a SAX XMLErrorHandler and install it to your SAXReader instance. - Parse and validate the Document. - Output Validation/Parsing errors. - - - -import org.dom4j.Document; -import org.dom4j.Element; -import org.dom4j.io.OutputFormat; -import org.dom4j.io.SAXReader; -import org.dom4j.io.XMLWriter; -import org.dom4j.util.XMLErrorHandler; - - -import org.xml.sax.ErrorHandler; -import org.xml.sax.SAXParseException - -public class SimpleValidationDemo { - -public static void main(String[] args) { - SAXReader reader = new SAXReader(); - - reader.setValidation(true); - - // specify the schema to use - reader.setProperty( - "http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation", - "prices.xsd" - ); - - // add error handler which turns any errors into XML - XMLErrorHandler errorHandler = new XMLErrorHandler(); - reader.setErrorHandler( errorHandler ); - - // parse the document - Document document = reader.read(args[0]); - - // output the errors XML - XMLWriter writer = new XMLWriter( OutputFormat.createPrettyPrint() ); - writer.write( errorHandler.getErrors() ); -} - - - -Xerces and Crimson - -Both, Xerecs and Crimson, are JaXPable parsers. Be careful while using -Crimson and Xerces in same class path. Xerces will work correctly only when it is -specified in class path before Crimson. At this time I -recommend that you should either Xereces or Crimson. - - - -
- -
A perfect team - Multi Schema Validator<citation>MSV</citation> and dom4j - -Kohsuke Kawaguchi a developer from Sun created a extremly usefull tool for XML validation. -Multi Schema Validator (MSV) supports following specifications: - - - - Relax NG - Relax - TREX - XML DTDs - XML Schema - - - -Currently its not clear whether XML Schema will be the next standard for validation. Relax NG has an ever more growing -lobby. If you want to build a open application that is not fixed to a specific XML parser and specific type of XML validation you should use this powerfull -tool. As usage of MSV is not trivial the next section shows how to use it in simpler way. - - -
-
Simplified Multi-Schema Validation by using Java API for RELAX Verifiers (JARV) - - -The Java API for RELAX Verifiers JARV defines a set of Interfaces and provide -a schemata and vendor neutral API for validation of XML documents. The above explained -MSV offers a Factory that supports JARV. So you can use the JARV API on top of MSV and dom4j -to validate a dom4j documents. - - - -import org.iso_relax.verifier.Schema; -import org.iso_relax.verifier.Verifier; -import org.iso_relax.verifier.VerifierFactory; -import org.iso_relax.verifier.VerifierHandler; - -import com.sun.msv.verifier.jarv.TheFactoryImpl; - -import org.apache.log4j.Category; - -import org.dom4j.Document; -import org.dom4j.io.SAXWriter; - -import org.xml.sax.ErrorHandler; -import org.xml.sax.SAXParseException; - -public class Validator { - - private final static CATEGORY = Category.getInstance(Validator.class); - private String schemaURI; - private Document document; - - public Validator(Document document, String schemaURI) { - this.schemaURI = schemaURI; - this.document = document; - } - - public boolean validate() throws Exception { - - // (1) use autodetection of schemas - VerifierFactory factory = new com.sun.msv.verifier.jarv.TheFactoryImpl(); - Schema schema = factory.compileSchema( schemaURI ); - - // (2) configure a Vertifier - Verifier verifier = schema.newVerifier(); - verifier.setErrorHandler( - new ErrorHandler() { - public void error(SAXParseException saxParseEx) { - CATEGORY.error( "Error during validation.", saxParseEx); - } - - public void fatalError(SAXParseException saxParseEx) { - CATEGORY.fatal( "Fatal error during validation.", saxParseEx); - } - - public void warning(SAXParseException saxParseEx) { - CATEGORY.warn( saxParseEx ); - } - } - ); - - // (3) starting validation by resolving the dom4j document into sax - VerifierHandler handler = verifier.getVerifierHandler(); - SAXWriter writer = new SAXWriter( handler ); - writer.write( document ); - - return handler.isValid(); - } - - } - -} - - - -The whole work in the above example is done in validate() method. -Foremost the we create a Factory instance and use it to create a JAVR -org.iso_relax.verifier.Schema instance. -In second step we create and configure a org.iso_relax.verifier.Verifier -using a org.sax.ErrorHandler. I use Apaches Log4j API -to log possible errors. You can also use System.out.println() -or, depending of the applications desired robustness, any other method to provide information about -failures. Third and last step resolves the org.dom4j.Document -instance using SAX in order to start the validation. Finally we return a boolean -value that informs about success of the validation. - - - -Using teamwork of dom4j, MSV, JAVR and good old SAX simplifies the usage -of multi schemata validation while gaining the power of MSV. - - -
-
-
- -Declarative Rule Processing - -XSLT defines a declarative rule-based way to transform XML tree into -plain text, HTML, FO or any other text-based format. XSLT is very powerful. -Ironically it does not need variables to hold data. -As Michael Kay XSLTReference says: "This style of coding without assignment statements, is -called Functional Programming. The earliest and most -famous functional programming language was Lisp ..., while modern examples -include ML and Scheme." In XSLT you define a so called template -that matches a certain XPath expression. The XSLT Processor traverse the -source tree using a recursive tree descent algorithm and performs the commands you defined when a specific tree branch -matches the template rule. - - - -dom4j offers an API that supports XSLT similar rule based processing. The -API can be found in org.dom4j.rule package and this -chapter will introduce you to this powerful feature of dom4j. - - -
Introducing dom4j's declarative rule processing - - This section will demonstrate the usage of dom4j's rule API by example. - Consider we have the following XML document, but that we want to transform - into another XML document containing less information. - - - - - - - - - Simon - Lifehouse - No Name Face - 2000 - Alternative Rock - 6 - - - - - - - Hands Clean - Alanis Morrisette - Under Rug Swept - 2002 - Alternative Rock - 3 - - - - - - - Alive - Payable On Deatch - Satellit - 2002 - Metal - - - - - - Crawling In The Dark - Hoobastank - Hoobastank (Selftitled) - 2002 - Alternative Rock - - - - - - ]]> - - - - A common method to transform one XML document into another is XSLT. It's quite - powerful but it is very different from Java and uses paradigms different from OO. - Such style sheet may look like - this. - - - - - - - - - - - - - - - - - - - - - - - - ]]> - - - - This stylesheet filters all song titles and creates a xml wrapper for it. - After applying the stylesheet with XSLT processor you will - get the following xml document. - - - - - - - Simon - Hands Clean - Alive - Crawling in the Dark - - ]]> - - - - - Okay. Now it's time to present a possible solution using dom4j's rule API. As you - will see this API is very compact. The Classes you have to write are neither complex nor - extremely hard to understand. We want to get the same result as your former stylesheet. - - - - - - - - - - - - - - - - - - - - - - - - - - - - import java.io.File; - - import org.dom4j.DocumentHelper; - import org.dom4j.Document; - import org.dom4j.DocumentException; - import org.dom4j.Element; - import org.dom4j.Node; - - import org.dom4j.io.SAXReader; - import org.dom4j.io.XMLWriter; - import org.dom4j.io.OutputFormat; - - import org.dom4j.rule.Action; - import org.dom4j.rule.Pattern; - import org.dom4j.rule.Stylesheet; - import org.dom4j.rule.Rule; - - public class SongFilter { - - private Document resultDoc; - private Element songElement; - private Element currentSongElement; - private Stylesheet style; - - - public SongFilter() { - this.songElement = DocumentHelper.createElement( "song" ); - } - - - public Document filtering(org.dom4j.Document doc) throws Exception { - Element resultRoot = DocumentHelper.createElement( "Song-Titles" ); - this.resultDoc = DocumentHelper.createDocument( resultRoot ); - - Rule songElementRule = new Rule(); - songElementRule.setPattern( DocumentHelper.createPattern( "/Songs/song/mp3/id3" ) ); - songElementRule.setAction( new SongElementBuilder() ); - - Rule titleTextNodeFilter = new Rule(); - titleTextNodeFilter.setPattern( DocumentHelper.createPattern( "/Songs/song/mp3/id3/title" ) ); - titleTextNodeFilter.setAction( new NodeTextFilter() ); - - this.style = new Stylesheet(); - this.style.addRule( songElementRule ); - this.style.addRule( titleTextNodeFilter ); - - style.run( doc ); - - return this.resultDoc; - } - - - - - private class SongElementBuilder implements Action { - public void run(Node node) throws Exception { - currentSongElement = songElement.createCopy(); - resultDoc.getRootElement().add ( currentSongElement ); - - style.applyTemplates(node); - } - } - - private class NodeTextFilter implements Action { - public void run(Node node) throws Exception { - if ( currentSongElement != null ) - { - currentSongElement.setText( node.getText() ); - } - } - } - - -} - - - - Define the root element or another container element for the filtered out information. - - - Create as many instances of org.dom4j.rule.Rule as needed. - - - - Install for each rule a instance of org.dom4j.rule.Pattern and - org.dom4j.rule.Action. A org.dom4j.rule.Pattern - consists of a XPath Expression, which is used for Node matching. - - - - A org.dom4j.rule.Action defines the process if a matching occured. - - - Create a instance of org.dom4j.rule.Stylesheet - - - Start the processing - - - - - - - - - If you are familiar with Java Threads you may encounter usage similarities between java.lang.Runnable and org.dom4j.rule.Action. - Both act as a plugin or listener. And this Observer Pattern has a wide - usage in OO and especially in Java. - We implemented observers here as private inner classes. You may decide to declare them as outer classes as well. - However if you do that, the design becomes more complex because you need to share instance of - org.dom4j.rule.StyleSheet. - - - Anonymous adapters - - Moreover it's possible to create an anonymous inner class for org.dom4j.rule.Action interface. - - - -
- -
Understanding dom4j's rule API - - -Comparing Visitor with Rule API - - - - - - - - - - Visitor - Declartive Rule Processing - - - - - Use of Interfaces in design - Use of Interfaces in design - - - Uncontrolled automatic recursive descent traversal - Rule controlled automatic recursive descent traversal - - - Needs knowledge of Visitor pattern to understand - Knowledge of Observer/Publish-Subscriber pattern (ligua franca pattern besides Singleton) useful - - - Provides adapater class to simplify usage of interface - Adapter not necessary due to interface using single method - - - Basic knowledge of dom4j's tree object model necessary - Additional XPath knowlege for pattern specification necessary - - - Implementation is more compact - More code necessary to define the rules and action - - - High and easy modularity - High modularity for controlled recursive processing, but more complex handling if you abandon inner or anonymous inner classes. - - - -
-
- - - -As shown above, dom4j's uses a very flexible OO-Representation of a XSLT Stylesheet. The smart handling of actions -produces compact code. - - - -The rule API is a OO representation of W3C XSLT. The API defines another way of traversing the in-memory dom4j tree. -The traversal algorithm is called recursive descent and is the same as XSLT defines. Such algorithms -are also used in compiler construction and described in literature. - - - -XSLT defines a way of tree merging or filtering. If you output an eXtensible stylesheet result to another xml you merge an -existing tree to another one using the instruction of the Stylesheet and if output to plain text a styling is used for -filtering. First usage is addressed by this API. The second is also possible but not so easy to implement as in XSLT. - - - -How does the rule API work? Each Stylesheet has a rule. A rule consists of an action and a pattern. Patterns are described -with XPath. You start the processing of a Stylesheet on a specific source with must be a dom4j Node. -Calling method style.applyTemplates(node); traverses the Node using -a recursive descent algorithm - branch after branch. If a pattern matches the assigned action is activated. - - - -If you are interested more in the way a xml document is traversed by XSLT processors I recommend -Michael Kay's book XSLTReference. - - -
- -
- - - Further Reading -Books - - XSLTReference - - MichaelKay - - 2001 - Worx Press, Inc. - - 1-861-005067 - - Worx Press - - XSLT Programmer's Reference 2'nd Edition - - Programmer To Programmer - - Worx Press - - - - - GoF95 - - ErichGamma - RichardHelm - RalphJohnson - JohnVlissides - - 1995 - Addison Wesley Pub, Co. - - 0-201-633-612 - - Addison-Wesley - - Design Patterns: Elements of Reusable Object-Orientated Software - - - -Articles - - Pawlan98 - - MonicaPawlan - - 1998 - http://developer.java.sun.com/javatips/jw-tips76.html - - Reference Objects and Garbage Collection - - - JavaTip76 - - DaveMiller - - - http://www.javaworld.com/javaworld/javatips/jw-javatip76.html - - An alternative to the deep copying technique - - - BillVenners - - BillVenners - - - http://www.artima.com/designtechniques/interfaces.html - - Designing with Interfaces - One Programmer's Struggle to Understand the Interface - - - Zvon - - http://www.zvon.org/xxl/XPathTutorial/General/examples.html - - Zvon XPath tutorial - - - RelaxNG - - http://www.oasis-open.org/committees/relax-ng/ - - Developing RELAX NG, the next generation schema language for XML: clean, simple and powerful - - - Relax - - http://www.xml.gr.jp/relax/ - - The offical site of Relax - - - TREX - - http://www.thaiopensource.com/trex/ - - TREX - Tree Regular Expressions for XML - - - DTD - - http://www.w3schools.com/dtd/default.asp - - Document Type Definitions Tutorial - - - XSD - - http://www.w3.org/XML/Schema http://www.w3.org/XML/1998/06/xmlspec-report - - XML Schema - - - JARV - - http://iso-relax.sourceforge.net/JARV/ - - Java API for RELAX Verifiers - - -
- - - diff --git a/src/samples/org/dom4j/samples/AbstractDemo.java b/src/example/java/org/dom4j/samples/AbstractDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/AbstractDemo.java rename to src/example/java/org/dom4j/samples/AbstractDemo.java diff --git a/src/samples/org/dom4j/samples/CountDemo.java b/src/example/java/org/dom4j/samples/CountDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/CountDemo.java rename to src/example/java/org/dom4j/samples/CountDemo.java diff --git a/src/samples/org/dom4j/samples/CreateXMLDemo.java b/src/example/java/org/dom4j/samples/CreateXMLDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/CreateXMLDemo.java rename to src/example/java/org/dom4j/samples/CreateXMLDemo.java diff --git a/src/samples/org/dom4j/samples/DatatypeDemo.java b/src/example/java/org/dom4j/samples/DatatypeDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/DatatypeDemo.java rename to src/example/java/org/dom4j/samples/DatatypeDemo.java diff --git a/src/samples/org/dom4j/samples/HTMLWriterDemo.java b/src/example/java/org/dom4j/samples/HTMLWriterDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/HTMLWriterDemo.java rename to src/example/java/org/dom4j/samples/HTMLWriterDemo.java diff --git a/src/samples/org/dom4j/samples/JTidyDemo.java b/src/example/java/org/dom4j/samples/JTidyDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/JTidyDemo.java rename to src/example/java/org/dom4j/samples/JTidyDemo.java diff --git a/src/samples/org/dom4j/samples/LargeDocumentDemo.java b/src/example/java/org/dom4j/samples/LargeDocumentDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/LargeDocumentDemo.java rename to src/example/java/org/dom4j/samples/LargeDocumentDemo.java diff --git a/src/samples/org/dom4j/samples/LargeDocumentDemo2.java b/src/example/java/org/dom4j/samples/LargeDocumentDemo2.java similarity index 100% rename from src/samples/org/dom4j/samples/LargeDocumentDemo2.java rename to src/example/java/org/dom4j/samples/LargeDocumentDemo2.java diff --git a/src/samples/org/dom4j/samples/LinkChecker.java b/src/example/java/org/dom4j/samples/LinkChecker.java similarity index 100% rename from src/samples/org/dom4j/samples/LinkChecker.java rename to src/example/java/org/dom4j/samples/LinkChecker.java diff --git a/src/samples/org/dom4j/samples/PullParserDemo.java b/src/example/java/org/dom4j/samples/PullParserDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/PullParserDemo.java rename to src/example/java/org/dom4j/samples/PullParserDemo.java diff --git a/src/samples/org/dom4j/samples/RoundTripDemo.java b/src/example/java/org/dom4j/samples/RoundTripDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/RoundTripDemo.java rename to src/example/java/org/dom4j/samples/RoundTripDemo.java diff --git a/src/samples/org/dom4j/samples/SAXDemo.java b/src/example/java/org/dom4j/samples/SAXDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/SAXDemo.java rename to src/example/java/org/dom4j/samples/SAXDemo.java diff --git a/src/samples/org/dom4j/samples/VisitorDemo.java b/src/example/java/org/dom4j/samples/VisitorDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/VisitorDemo.java rename to src/example/java/org/dom4j/samples/VisitorDemo.java diff --git a/src/samples/org/dom4j/samples/VisitorDemo2.java b/src/example/java/org/dom4j/samples/VisitorDemo2.java similarity index 100% rename from src/samples/org/dom4j/samples/VisitorDemo2.java rename to src/example/java/org/dom4j/samples/VisitorDemo2.java diff --git a/src/samples/org/dom4j/samples/XPathDemo.java b/src/example/java/org/dom4j/samples/XPathDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/XPathDemo.java rename to src/example/java/org/dom4j/samples/XPathDemo.java diff --git a/src/samples/org/dom4j/samples/XPathGrep.java b/src/example/java/org/dom4j/samples/XPathGrep.java similarity index 100% rename from src/samples/org/dom4j/samples/XPathGrep.java rename to src/example/java/org/dom4j/samples/XPathGrep.java diff --git a/src/samples/org/dom4j/samples/XPathTool.java b/src/example/java/org/dom4j/samples/XPathTool.java similarity index 100% rename from src/samples/org/dom4j/samples/XPathTool.java rename to src/example/java/org/dom4j/samples/XPathTool.java diff --git a/src/samples/org/dom4j/samples/XPathValueOf.java b/src/example/java/org/dom4j/samples/XPathValueOf.java similarity index 100% rename from src/samples/org/dom4j/samples/XPathValueOf.java rename to src/example/java/org/dom4j/samples/XPathValueOf.java diff --git a/src/samples/org/dom4j/samples/XSLTDemo.java b/src/example/java/org/dom4j/samples/XSLTDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/XSLTDemo.java rename to src/example/java/org/dom4j/samples/XSLTDemo.java diff --git a/src/samples/org/dom4j/samples/applets/SimpleAppletDemo.html b/src/example/java/org/dom4j/samples/applets/SimpleAppletDemo.html similarity index 100% rename from src/samples/org/dom4j/samples/applets/SimpleAppletDemo.html rename to src/example/java/org/dom4j/samples/applets/SimpleAppletDemo.html diff --git a/src/samples/org/dom4j/samples/applets/SimpleAppletDemo.java b/src/example/java/org/dom4j/samples/applets/SimpleAppletDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/applets/SimpleAppletDemo.java rename to src/example/java/org/dom4j/samples/applets/SimpleAppletDemo.java diff --git a/src/samples/org/dom4j/samples/bean/BeanDemo.java b/src/example/java/org/dom4j/samples/bean/BeanDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/bean/BeanDemo.java rename to src/example/java/org/dom4j/samples/bean/BeanDemo.java diff --git a/src/samples/org/dom4j/samples/dom/DOMDemo.java b/src/example/java/org/dom4j/samples/dom/DOMDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/dom/DOMDemo.java rename to src/example/java/org/dom4j/samples/dom/DOMDemo.java diff --git a/src/samples/org/dom4j/samples/dom/NativeDOMDemo.java b/src/example/java/org/dom4j/samples/dom/NativeDOMDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/dom/NativeDOMDemo.java rename to src/example/java/org/dom4j/samples/dom/NativeDOMDemo.java diff --git a/src/samples/org/dom4j/samples/dom/RoundTripDemo.java b/src/example/java/org/dom4j/samples/dom/RoundTripDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/dom/RoundTripDemo.java rename to src/example/java/org/dom4j/samples/dom/RoundTripDemo.java diff --git a/src/samples/org/dom4j/samples/dom/SAXDOMDemo.java b/src/example/java/org/dom4j/samples/dom/SAXDOMDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/dom/SAXDOMDemo.java rename to src/example/java/org/dom4j/samples/dom/SAXDOMDemo.java diff --git a/src/samples/org/dom4j/samples/dom/XSLTNativeDOMDemo.java b/src/example/java/org/dom4j/samples/dom/XSLTNativeDOMDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/dom/XSLTNativeDOMDemo.java rename to src/example/java/org/dom4j/samples/dom/XSLTNativeDOMDemo.java diff --git a/src/samples/org/dom4j/samples/jaxb/JAXBDemo.java b/src/example/java/org/dom4j/samples/jaxb/JAXBDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/jaxb/JAXBDemo.java rename to src/example/java/org/dom4j/samples/jaxb/JAXBDemo.java diff --git a/src/samples/org/dom4j/samples/jaxb/PurchaseOrderDateModifier.java b/src/example/java/org/dom4j/samples/jaxb/PurchaseOrderDateModifier.java similarity index 100% rename from src/samples/org/dom4j/samples/jaxb/PurchaseOrderDateModifier.java rename to src/example/java/org/dom4j/samples/jaxb/PurchaseOrderDateModifier.java diff --git a/src/samples/org/dom4j/samples/jaxb/PurchaseOrderHandler.java b/src/example/java/org/dom4j/samples/jaxb/PurchaseOrderHandler.java similarity index 100% rename from src/samples/org/dom4j/samples/jaxb/PurchaseOrderHandler.java rename to src/example/java/org/dom4j/samples/jaxb/PurchaseOrderHandler.java diff --git a/src/samples/org/dom4j/samples/jaxp/PrettyPrintDemo.java b/src/example/java/org/dom4j/samples/jaxp/PrettyPrintDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/jaxp/PrettyPrintDemo.java rename to src/example/java/org/dom4j/samples/jaxp/PrettyPrintDemo.java diff --git a/src/samples/org/dom4j/samples/jaxp/RoundTripDemo.java b/src/example/java/org/dom4j/samples/jaxp/RoundTripDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/jaxp/RoundTripDemo.java rename to src/example/java/org/dom4j/samples/jaxp/RoundTripDemo.java diff --git a/src/samples/org/dom4j/samples/jaxp/WriterDemo.java b/src/example/java/org/dom4j/samples/jaxp/WriterDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/jaxp/WriterDemo.java rename to src/example/java/org/dom4j/samples/jaxp/WriterDemo.java diff --git a/src/samples/org/dom4j/samples/performance/ParseLoop.java b/src/example/java/org/dom4j/samples/performance/ParseLoop.java similarity index 100% rename from src/samples/org/dom4j/samples/performance/ParseLoop.java rename to src/example/java/org/dom4j/samples/performance/ParseLoop.java diff --git a/src/samples/org/dom4j/samples/performance/ParseTest.java b/src/example/java/org/dom4j/samples/performance/ParseTest.java similarity index 100% rename from src/samples/org/dom4j/samples/performance/ParseTest.java rename to src/example/java/org/dom4j/samples/performance/ParseTest.java diff --git a/src/samples/org/dom4j/samples/performance/PerformanceSupport.java b/src/example/java/org/dom4j/samples/performance/PerformanceSupport.java similarity index 100% rename from src/samples/org/dom4j/samples/performance/PerformanceSupport.java rename to src/example/java/org/dom4j/samples/performance/PerformanceSupport.java diff --git a/src/samples/org/dom4j/samples/performance/PullParseTest.java b/src/example/java/org/dom4j/samples/performance/PullParseTest.java similarity index 100% rename from src/samples/org/dom4j/samples/performance/PullParseTest.java rename to src/example/java/org/dom4j/samples/performance/PullParseTest.java diff --git a/src/samples/org/dom4j/samples/performance/Task.java b/src/example/java/org/dom4j/samples/performance/Task.java similarity index 100% rename from src/samples/org/dom4j/samples/performance/Task.java rename to src/example/java/org/dom4j/samples/performance/Task.java diff --git a/src/samples/org/dom4j/samples/performance/Timer.java b/src/example/java/org/dom4j/samples/performance/Timer.java similarity index 100% rename from src/samples/org/dom4j/samples/performance/Timer.java rename to src/example/java/org/dom4j/samples/performance/Timer.java diff --git a/src/samples/org/dom4j/samples/performance/ToTextTest.java b/src/example/java/org/dom4j/samples/performance/ToTextTest.java similarity index 100% rename from src/samples/org/dom4j/samples/performance/ToTextTest.java rename to src/example/java/org/dom4j/samples/performance/ToTextTest.java diff --git a/src/samples/org/dom4j/samples/rule/SongFilter.java b/src/example/java/org/dom4j/samples/rule/SongFilter.java similarity index 100% rename from src/samples/org/dom4j/samples/rule/SongFilter.java rename to src/example/java/org/dom4j/samples/rule/SongFilter.java diff --git a/src/samples/org/dom4j/samples/rule/SongFilter.xsl b/src/example/java/org/dom4j/samples/rule/SongFilter.xsl similarity index 100% rename from src/samples/org/dom4j/samples/rule/SongFilter.xsl rename to src/example/java/org/dom4j/samples/rule/SongFilter.xsl diff --git a/src/samples/org/dom4j/samples/rule/Songs.xml b/src/example/java/org/dom4j/samples/rule/Songs.xml similarity index 100% rename from src/samples/org/dom4j/samples/rule/Songs.xml rename to src/example/java/org/dom4j/samples/rule/Songs.xml diff --git a/src/samples/org/dom4j/samples/sax/FilterDemo.java b/src/example/java/org/dom4j/samples/sax/FilterDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/sax/FilterDemo.java rename to src/example/java/org/dom4j/samples/sax/FilterDemo.java diff --git a/src/samples/org/dom4j/samples/sax/TrimXMLFilter.java b/src/example/java/org/dom4j/samples/sax/TrimXMLFilter.java similarity index 100% rename from src/samples/org/dom4j/samples/sax/TrimXMLFilter.java rename to src/example/java/org/dom4j/samples/sax/TrimXMLFilter.java diff --git a/src/samples/org/dom4j/samples/swing/JTableDemo.java b/src/example/java/org/dom4j/samples/swing/JTableDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/swing/JTableDemo.java rename to src/example/java/org/dom4j/samples/swing/JTableDemo.java diff --git a/src/samples/org/dom4j/samples/swing/JTableTool.java b/src/example/java/org/dom4j/samples/swing/JTableTool.java similarity index 100% rename from src/samples/org/dom4j/samples/swing/JTableTool.java rename to src/example/java/org/dom4j/samples/swing/JTableTool.java diff --git a/src/samples/org/dom4j/samples/swing/JTreeDemo.java b/src/example/java/org/dom4j/samples/swing/JTreeDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/swing/JTreeDemo.java rename to src/example/java/org/dom4j/samples/swing/JTreeDemo.java diff --git a/src/samples/org/dom4j/samples/validate/JARVDemo.java b/src/example/java/org/dom4j/samples/validate/JARVDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/validate/JARVDemo.java rename to src/example/java/org/dom4j/samples/validate/JARVDemo.java diff --git a/src/samples/org/dom4j/samples/validate/JARVDemo2.java b/src/example/java/org/dom4j/samples/validate/JARVDemo2.java similarity index 100% rename from src/samples/org/dom4j/samples/validate/JARVDemo2.java rename to src/example/java/org/dom4j/samples/validate/JARVDemo2.java diff --git a/src/samples/org/dom4j/samples/validate/SAXValidatorDemo.java b/src/example/java/org/dom4j/samples/validate/SAXValidatorDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/validate/SAXValidatorDemo.java rename to src/example/java/org/dom4j/samples/validate/SAXValidatorDemo.java diff --git a/src/samples/org/dom4j/samples/validate/XercesDemo.java b/src/example/java/org/dom4j/samples/validate/XercesDemo.java similarity index 100% rename from src/samples/org/dom4j/samples/validate/XercesDemo.java rename to src/example/java/org/dom4j/samples/validate/XercesDemo.java diff --git a/src/java/CVS/Entries b/src/java/CVS/Entries deleted file mode 100644 index 381094d5..00000000 --- a/src/java/CVS/Entries +++ /dev/null @@ -1 +0,0 @@ -D/org//// diff --git a/src/java/CVS/Repository b/src/java/CVS/Repository deleted file mode 100644 index 0c261a1b..00000000 --- a/src/java/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/java diff --git a/src/java/CVS/Root b/src/java/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/java/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/java/org/CVS/Entries b/src/java/org/CVS/Entries deleted file mode 100644 index 17848105..00000000 --- a/src/java/org/CVS/Entries +++ /dev/null @@ -1 +0,0 @@ -D diff --git a/src/java/org/CVS/Entries.Log b/src/java/org/CVS/Entries.Log deleted file mode 100644 index 01357a06..00000000 --- a/src/java/org/CVS/Entries.Log +++ /dev/null @@ -1,5 +0,0 @@ -A D/dom4j//// -A D/w3c//// -A D/xml//// -R D/xml//// -R D/w3c//// diff --git a/src/java/org/CVS/Repository b/src/java/org/CVS/Repository deleted file mode 100644 index 4a381d6c..00000000 --- a/src/java/org/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/java/org diff --git a/src/java/org/CVS/Root b/src/java/org/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/java/org/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/java/org/dom4j/CVS/Entries b/src/java/org/dom4j/CVS/Entries deleted file mode 100644 index 3377664f..00000000 --- a/src/java/org/dom4j/CVS/Entries +++ /dev/null @@ -1,28 +0,0 @@ -/Attribute.java/1.9/Sat Jan 29 14:52:43 2005// -/Branch.java/1.32/Sat Jan 29 14:52:43 2005// -/CDATA.java/1.7/Sat Jan 29 14:52:43 2005// -/CharacterData.java/1.9/Sat Jan 29 14:52:43 2005// -/Comment.java/1.7/Sat Jan 29 14:52:43 2005// -/Document.java/1.14/Mon Mar 28 14:46:42 2005// -/DocumentException.java/1.7/Sat Jan 29 14:52:43 2005// -/DocumentFactory.java/1.46/Fri Apr 22 18:46:31 2005// -/DocumentHelper.java/1.26/Mon Mar 28 14:58:30 2005// -/DocumentType.java/1.10/Sat Jan 29 14:52:44 2005// -/Element.java/1.47/Sat Jan 29 14:52:44 2005// -/ElementHandler.java/1.8/Sat Jan 29 14:52:44 2005// -/ElementPath.java/1.6/Sat Jan 29 14:52:44 2005// -/Entity.java/1.7/Sat Jan 29 14:52:44 2005// -/IllegalAddException.java/1.6/Sat Jan 29 14:52:44 2005// -/InvalidXPathException.java/1.6/Sat Jan 29 14:52:44 2005// -/Namespace.java/1.22/Sat Jan 29 14:52:44 2005// -/Node.java/1.31/Sat Jan 29 14:52:44 2005// -/NodeFilter.java/1.7/Sat Jan 29 14:52:44 2005// -/ProcessingInstruction.java/1.10/Sat Jan 29 14:52:44 2005// -/QName.java/1.19/Fri Apr 22 18:46:31 2005// -/Text.java/1.7/Sat Jan 29 14:52:44 2005// -/Visitor.java/1.8/Sat Jan 29 14:52:44 2005// -/VisitorSupport.java/1.6/Sat Jan 29 14:52:44 2005// -/XPath.java/1.20/Sat Jan 29 14:52:44 2005// -/XPathException.java/1.6/Sat Jan 29 14:52:44 2005// -/package.html/1.3/Mon May 20 08:14:11 2002// -D diff --git a/src/java/org/dom4j/CVS/Entries.Log b/src/java/org/dom4j/CVS/Entries.Log deleted file mode 100644 index b55560ae..00000000 --- a/src/java/org/dom4j/CVS/Entries.Log +++ /dev/null @@ -1,22 +0,0 @@ -A D/bean//// -A D/datatype//// -A D/dom//// -A D/dtd//// -A D/io//// -A D/jaxb//// -A D/persistence//// -A D/rule//// -A D/saxon//// -A D/schema//// -A D/swing//// -A D/tool//// -A D/transform//// -A D/tree//// -A D/util//// -A D/xpath//// -A D/xpp//// -R D/transform//// -R D/tool//// -R D/schema//// -R D/saxon//// -R D/persistence//// diff --git a/src/java/org/dom4j/CVS/Repository b/src/java/org/dom4j/CVS/Repository deleted file mode 100644 index 9402f6c9..00000000 --- a/src/java/org/dom4j/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/java/org/dom4j diff --git a/src/java/org/dom4j/CVS/Root b/src/java/org/dom4j/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/java/org/dom4j/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/java/org/dom4j/bean/CVS/Entries b/src/java/org/dom4j/bean/CVS/Entries deleted file mode 100644 index 95c52b83..00000000 --- a/src/java/org/dom4j/bean/CVS/Entries +++ /dev/null @@ -1,7 +0,0 @@ -/BeanAttribute.java/1.7/Sat Jan 29 14:52:44 2005// -/BeanAttributeList.java/1.9/Sat Jan 29 14:52:44 2005// -/BeanDocumentFactory.java/1.14/Sat Jan 29 14:52:44 2005// -/BeanElement.java/1.15/Sat Jan 29 14:52:44 2005// -/BeanMetaData.java/1.10/Sat Jan 29 14:52:44 2005// -/package.html/1.3/Mon May 20 08:14:12 2002// -D diff --git a/src/java/org/dom4j/bean/CVS/Repository b/src/java/org/dom4j/bean/CVS/Repository deleted file mode 100644 index 20709df4..00000000 --- a/src/java/org/dom4j/bean/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/java/org/dom4j/bean diff --git a/src/java/org/dom4j/bean/CVS/Root b/src/java/org/dom4j/bean/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/java/org/dom4j/bean/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/java/org/dom4j/datatype/CVS/Entries b/src/java/org/dom4j/datatype/CVS/Entries deleted file mode 100644 index 246acdcc..00000000 --- a/src/java/org/dom4j/datatype/CVS/Entries +++ /dev/null @@ -1,9 +0,0 @@ -/DatatypeAttribute.java/1.9/Sat Jan 29 14:52:45 2005// -/DatatypeDocumentFactory.java/1.9/Sat Jan 29 14:52:45 2005// -/DatatypeElement.java/1.9/Sat Jan 29 14:52:45 2005// -/DatatypeElementFactory.java/1.9/Sat Jan 29 14:52:45 2005// -/InvalidSchemaException.java/1.6/Sat Jan 29 14:52:45 2005// -/NamedTypeResolver.java/1.8/Sat Jan 29 14:52:45 2005// -/SchemaParser.java/1.19/Sat Jan 29 14:52:45 2005// -/package.html/1.2/Mon May 20 08:14:13 2002// -D diff --git a/src/java/org/dom4j/datatype/CVS/Repository b/src/java/org/dom4j/datatype/CVS/Repository deleted file mode 100644 index 7b04f5eb..00000000 --- a/src/java/org/dom4j/datatype/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/java/org/dom4j/datatype diff --git a/src/java/org/dom4j/datatype/CVS/Root b/src/java/org/dom4j/datatype/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/java/org/dom4j/datatype/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/java/org/dom4j/dom/CVS/Entries b/src/java/org/dom4j/dom/CVS/Entries deleted file mode 100644 index 9e72b7d8..00000000 --- a/src/java/org/dom4j/dom/CVS/Entries +++ /dev/null @@ -1,15 +0,0 @@ -/DOMAttribute.java/1.14/Sat Jan 29 14:52:46 2005// -/DOMAttributeNodeMap.java/1.8/Sat Jan 29 14:52:46 2005// -/DOMCDATA.java/1.12/Sat Jan 29 14:52:46 2005// -/DOMComment.java/1.12/Sat Jan 29 14:52:46 2005// -/DOMDocument.java/1.17/Sat Jan 29 14:52:46 2005// -/DOMDocumentFactory.java/1.21/Fri Apr 22 18:46:32 2005// -/DOMDocumentType.java/1.11/Sat Jan 29 14:52:46 2005// -/DOMElement.java/1.23/Sat Jan 29 14:52:46 2005// -/DOMEntityReference.java/1.12/Sat Jan 29 14:52:46 2005// -/DOMNamespace.java/1.10/Sat Jan 29 14:52:46 2005// -/DOMNodeHelper.java/1.20/Sat Jan 29 14:52:46 2005// -/DOMProcessingInstruction.java/1.12/Sat Jan 29 14:52:46 2005// -/DOMText.java/1.12/Sat Jan 29 14:52:46 2005// -/package.html/1.3/Mon May 20 08:14:13 2002// -D diff --git a/src/java/org/dom4j/dom/CVS/Repository b/src/java/org/dom4j/dom/CVS/Repository deleted file mode 100644 index c0a348fe..00000000 --- a/src/java/org/dom4j/dom/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/java/org/dom4j/dom diff --git a/src/java/org/dom4j/dom/CVS/Root b/src/java/org/dom4j/dom/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/java/org/dom4j/dom/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/java/org/dom4j/dtd/CVS/Entries b/src/java/org/dom4j/dtd/CVS/Entries deleted file mode 100644 index d6be5394..00000000 --- a/src/java/org/dom4j/dtd/CVS/Entries +++ /dev/null @@ -1,6 +0,0 @@ -/AttributeDecl.java/1.7/Sat Jan 29 14:52:46 2005// -/ElementDecl.java/1.6/Sat Jan 29 14:52:47 2005// -/ExternalEntityDecl.java/1.9/Sat Jan 29 14:52:47 2005// -/InternalEntityDecl.java/1.9/Sat Jan 29 14:52:47 2005// -/package.html/1.2/Mon May 20 08:14:17 2002// -D diff --git a/src/java/org/dom4j/dtd/CVS/Repository b/src/java/org/dom4j/dtd/CVS/Repository deleted file mode 100644 index edaf632b..00000000 --- a/src/java/org/dom4j/dtd/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/java/org/dom4j/dtd diff --git a/src/java/org/dom4j/dtd/CVS/Root b/src/java/org/dom4j/dtd/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/java/org/dom4j/dtd/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/java/org/dom4j/io/CVS/Entries b/src/java/org/dom4j/io/CVS/Entries deleted file mode 100644 index f778bd6b..00000000 --- a/src/java/org/dom4j/io/CVS/Entries +++ /dev/null @@ -1,34 +0,0 @@ -/DOMDocumentResult.java/1.1/Wed May 25 13:37:11 2005// -/DOMReader.java/1.17/Sat Jan 29 14:52:47 2005// -/DOMSAXContentHandler.java/1.1/Wed May 25 13:37:11 2005// -/DOMWriter.java/1.17/Sat Jan 29 14:52:47 2005// -/DispatchHandler.java/1.11/Sat Jan 29 14:52:47 2005// -/DocumentInputSource.java/1.8/Sat Jan 29 14:52:47 2005// -/DocumentResult.java/1.8/Sat Jan 29 14:52:48 2005// -/DocumentSource.java/1.10/Sat Jan 29 14:52:48 2005// -/ElementModifier.java/1.3/Sat Jan 29 14:52:48 2005// -/ElementStack.java/1.14/Sat Jan 29 14:52:48 2005// -/HTMLWriter.java/1.21/Sat Jan 29 14:52:48 2005// -/JAXPHelper.java/1.7/Sat Jan 29 14:52:49 2005// -/OutputFormat.java/1.17/Wed Mar 23 20:56:39 2005// -/PruningDispatchHandler.java/1.3/Sat Jan 29 14:52:49 2005// -/PruningElementStack.java/1.11/Sat Jan 29 14:52:49 2005// -/SAXContentHandler.java/1.61/Sat Jan 29 14:52:49 2005// -/SAXEventRecorder.java/1.6/Mon Mar 28 14:41:03 2005// -/SAXHelper.java/1.18/Sat Jan 29 14:52:49 2005// -/SAXModifier.java/1.4/Sat Jan 29 14:52:49 2005// -/SAXModifyContentHandler.java/1.3/Sat Jan 29 14:52:49 2005// -/SAXModifyElementHandler.java/1.3/Sat Jan 29 14:52:50 2005// -/SAXModifyException.java/1.3/Sat Jan 29 14:52:50 2005// -/SAXModifyReader.java/1.3/Sat Jan 29 14:52:50 2005// -/SAXReader.java/1.58/Sat Apr 2 21:42:57 2005// -/SAXValidator.java/1.10/Sat Jan 29 14:52:50 2005// -/SAXWriter.java/1.24/Sat Jan 29 14:52:50 2005// -/STAXEventReader.java/1.6/Sat Jan 29 14:52:50 2005// -/STAXEventWriter.java/1.8/Sat Jan 29 14:52:50 2005// -/XMLResult.java/1.9/Sat Jan 29 14:52:50 2005// -/XMLWriter.java/1.83/Wed Mar 23 20:56:54 2005// -/XPP3Reader.java/1.3/Sat Jan 29 14:52:51 2005// -/XPPReader.java/1.7/Sat Jan 29 14:52:51 2005// -/package.html/1.3/Mon May 20 08:14:14 2002// -D diff --git a/src/java/org/dom4j/io/CVS/Entries.Log b/src/java/org/dom4j/io/CVS/Entries.Log deleted file mode 100644 index b86beec0..00000000 --- a/src/java/org/dom4j/io/CVS/Entries.Log +++ /dev/null @@ -1,4 +0,0 @@ -A D/aelfred//// -A D/aelfred2//// -R D/aelfred2//// -R D/aelfred//// diff --git a/src/java/org/dom4j/io/CVS/Repository b/src/java/org/dom4j/io/CVS/Repository deleted file mode 100644 index 5e21ec61..00000000 --- a/src/java/org/dom4j/io/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/java/org/dom4j/io diff --git a/src/java/org/dom4j/io/CVS/Root b/src/java/org/dom4j/io/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/java/org/dom4j/io/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/java/org/dom4j/jaxb/CVS/Entries b/src/java/org/dom4j/jaxb/CVS/Entries deleted file mode 100644 index 201a62c0..00000000 --- a/src/java/org/dom4j/jaxb/CVS/Entries +++ /dev/null @@ -1,8 +0,0 @@ -/JAXBModifier.java/1.3/Sat Jan 29 14:52:52 2005// -/JAXBObjectHandler.java/1.3/Sat Jan 29 14:52:52 2005// -/JAXBObjectModifier.java/1.3/Sat Jan 29 14:52:52 2005// -/JAXBReader.java/1.4/Sat Jan 29 14:52:52 2005// -/JAXBRuntimeException.java/1.3/Sat Jan 29 14:52:52 2005// -/JAXBSupport.java/1.3/Sat Jan 29 14:52:52 2005// -/JAXBWriter.java/1.3/Sat Jan 29 14:52:52 2005// -D diff --git a/src/java/org/dom4j/jaxb/CVS/Repository b/src/java/org/dom4j/jaxb/CVS/Repository deleted file mode 100644 index 9e1b77f7..00000000 --- a/src/java/org/dom4j/jaxb/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/java/org/dom4j/jaxb diff --git a/src/java/org/dom4j/jaxb/CVS/Root b/src/java/org/dom4j/jaxb/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/java/org/dom4j/jaxb/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/java/org/dom4j/rule/CVS/Entries b/src/java/org/dom4j/rule/CVS/Entries deleted file mode 100644 index ba9fe331..00000000 --- a/src/java/org/dom4j/rule/CVS/Entries +++ /dev/null @@ -1,10 +0,0 @@ -/Action.java/1.7/Sat Jan 29 14:52:52 2005// -/Mode.java/1.9/Sat Jan 29 14:52:53 2005// -/NullAction.java/1.7/Sat Jan 29 14:52:53 2005// -/Pattern.java/1.6/Sat Jan 29 14:52:53 2005// -/Rule.java/1.7/Sat Jan 29 14:52:53 2005// -/RuleManager.java/1.9/Sat Jan 29 14:52:53 2005// -/RuleSet.java/1.10/Sat Jan 29 14:52:53 2005// -/Stylesheet.java/1.14/Sun Jan 30 08:46:46 2005// -/package.html/1.2/Mon May 20 08:14:12 2002// -D diff --git a/src/java/org/dom4j/rule/CVS/Entries.Log b/src/java/org/dom4j/rule/CVS/Entries.Log deleted file mode 100644 index 76efea34..00000000 --- a/src/java/org/dom4j/rule/CVS/Entries.Log +++ /dev/null @@ -1 +0,0 @@ -A D/pattern//// diff --git a/src/java/org/dom4j/rule/CVS/Repository b/src/java/org/dom4j/rule/CVS/Repository deleted file mode 100644 index ee3e7b30..00000000 --- a/src/java/org/dom4j/rule/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/java/org/dom4j/rule diff --git a/src/java/org/dom4j/rule/CVS/Root b/src/java/org/dom4j/rule/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/java/org/dom4j/rule/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/java/org/dom4j/rule/pattern/CVS/Entries b/src/java/org/dom4j/rule/pattern/CVS/Entries deleted file mode 100644 index 39ba0430..00000000 --- a/src/java/org/dom4j/rule/pattern/CVS/Entries +++ /dev/null @@ -1,3 +0,0 @@ -/DefaultPattern.java/1.6/Sat Jan 29 14:52:53 2005// -/NodeTypePattern.java/1.7/Sat Jan 29 14:52:53 2005// -D diff --git a/src/java/org/dom4j/rule/pattern/CVS/Repository b/src/java/org/dom4j/rule/pattern/CVS/Repository deleted file mode 100644 index 64710b7b..00000000 --- a/src/java/org/dom4j/rule/pattern/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/java/org/dom4j/rule/pattern diff --git a/src/java/org/dom4j/rule/pattern/CVS/Root b/src/java/org/dom4j/rule/pattern/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/java/org/dom4j/rule/pattern/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/java/org/dom4j/swing/CVS/Entries b/src/java/org/dom4j/swing/CVS/Entries deleted file mode 100644 index 65db80e7..00000000 --- a/src/java/org/dom4j/swing/CVS/Entries +++ /dev/null @@ -1,8 +0,0 @@ -/BranchTreeNode.java/1.10/Sat Jan 29 14:52:53 2005// -/DocumentTreeModel.java/1.7/Sat Jan 29 14:52:53 2005// -/LeafTreeNode.java/1.7/Sat Jan 29 14:52:53 2005// -/XMLTableColumnDefinition.java/1.10/Sat Jan 29 14:52:53 2005// -/XMLTableDefinition.java/1.8/Sat Jan 29 14:52:53 2005// -/XMLTableModel.java/1.8/Sat Jan 29 14:52:53 2005// -/package.html/1.3/Mon May 20 08:14:13 2002// -D diff --git a/src/java/org/dom4j/swing/CVS/Repository b/src/java/org/dom4j/swing/CVS/Repository deleted file mode 100644 index bfac6308..00000000 --- a/src/java/org/dom4j/swing/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/java/org/dom4j/swing diff --git a/src/java/org/dom4j/swing/CVS/Root b/src/java/org/dom4j/swing/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/java/org/dom4j/swing/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/java/org/dom4j/tree/CVS/Entries b/src/java/org/dom4j/tree/CVS/Entries deleted file mode 100644 index 06a95836..00000000 --- a/src/java/org/dom4j/tree/CVS/Entries +++ /dev/null @@ -1,42 +0,0 @@ -/AbstractAttribute.java/1.21/Sat Jan 29 14:52:53 2005// -/AbstractBranch.java/1.44/Wed Mar 23 20:57:08 2005// -/AbstractCDATA.java/1.12/Sat Jan 29 14:52:54 2005// -/AbstractCharacterData.java/1.12/Sat Jan 29 14:52:54 2005// -/AbstractComment.java/1.13/Sat Jan 29 14:52:54 2005// -/AbstractDocument.java/1.33/Wed Mar 23 20:57:23 2005// -/AbstractDocumentType.java/1.17/Sat Jan 29 14:52:54 2005// -/AbstractElement.java/1.80/Wed Mar 23 20:57:24 2005// -/AbstractEntity.java/1.15/Sat Jan 29 14:52:54 2005// -/AbstractNode.java/1.31/Sat Jan 29 14:52:54 2005// -/AbstractProcessingInstruction.java/1.17/Sat Jan 29 14:52:54 2005// -/AbstractText.java/1.10/Sat Jan 29 14:52:54 2005// -/BackedList.java/1.14/Sat Jan 29 14:52:54 2005// -/BaseElement.java/1.9/Sat Jan 29 14:52:54 2005// -/ConcurrentReaderHashMap.java/1.3/Sat Jan 29 14:52:54 2005// -/ContentListFacade.java/1.11/Wed Mar 16 21:20:32 2005// -/DefaultAttribute.java/1.13/Sat Jan 29 14:52:54 2005// -/DefaultCDATA.java/1.12/Sat Jan 29 14:52:54 2005// -/DefaultComment.java/1.11/Sat Jan 29 14:52:54 2005// -/DefaultDocument.java/1.34/Wed Mar 23 20:57:28 2005// -/DefaultDocumentType.java/1.10/Sat Jan 29 14:52:54 2005// -/DefaultElement.java/1.59/Wed Mar 16 21:21:53 2005// -/DefaultEntity.java/1.11/Sat Jan 29 14:52:55 2005// -/DefaultNamespace.java/1.16/Thu Feb 24 18:54:11 2005// -/DefaultProcessingInstruction.java/1.13/Sat Jan 29 14:52:55 2005// -/DefaultText.java/1.11/Sat Jan 29 14:52:55 2005// -/ElementIterator.java/1.8/Sat Jan 29 14:52:55 2005// -/ElementNameIterator.java/1.11/Sat Jan 29 14:52:55 2005// -/ElementQNameIterator.java/1.7/Sat Jan 29 14:52:55 2005// -/FilterIterator.java/1.10/Sat Jan 29 14:52:55 2005// -/FlyweightAttribute.java/1.7/Sat Jan 29 14:52:55 2005// -/FlyweightCDATA.java/1.8/Sat Jan 29 14:52:55 2005// -/FlyweightComment.java/1.7/Sat Jan 29 14:52:55 2005// -/FlyweightEntity.java/1.6/Sat Jan 29 14:52:55 2005// -/FlyweightProcessingInstruction.java/1.7/Sat Jan 29 14:52:55 2005// -/FlyweightText.java/1.7/Sat Jan 29 14:52:55 2005// -/NamespaceCache.java/1.15/Wed Apr 6 18:16:46 2005// -/NamespaceStack.java/1.13/Sat Jan 29 14:52:55 2005// -/QNameCache.java/1.16/Sat Jan 29 14:52:55 2005// -/SingleIterator.java/1.9/Sat Jan 29 14:52:55 2005// -/package.html/1.4/Mon May 20 08:14:10 2002// -D diff --git a/src/java/org/dom4j/tree/CVS/Repository b/src/java/org/dom4j/tree/CVS/Repository deleted file mode 100644 index 866f3b04..00000000 --- a/src/java/org/dom4j/tree/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/java/org/dom4j/tree diff --git a/src/java/org/dom4j/tree/CVS/Root b/src/java/org/dom4j/tree/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/java/org/dom4j/tree/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/java/org/dom4j/util/CVS/Entries b/src/java/org/dom4j/util/CVS/Entries deleted file mode 100644 index 48c21ce6..00000000 --- a/src/java/org/dom4j/util/CVS/Entries +++ /dev/null @@ -1,16 +0,0 @@ -/AttributeHelper.java/1.7/Sat Jan 29 14:52:55 2005// -/IndexedDocumentFactory.java/1.9/Sat Jan 29 14:52:55 2005// -/IndexedElement.java/1.10/Sat Jan 29 14:52:55 2005// -/NodeComparator.java/1.10/Sat Jan 29 14:52:55 2005// -/NonLazyDocumentFactory.java/1.9/Sat Jan 29 14:52:55 2005// -/NonLazyElement.java/1.8/Sat Jan 29 14:52:55 2005// -/PerThreadSingleton.java/1.3/Fri Apr 22 18:46:32 2005// -/ProxyDocumentFactory.java/1.13/Sat Jan 29 14:52:55 2005// -/SimpleSingleton.java/1.3/Fri Apr 22 18:46:32 2005// -/SingletonStrategy.java/1.2/Sat Jan 29 14:52:56 2005// -/UserDataAttribute.java/1.8/Sat Jan 29 14:52:56 2005// -/UserDataDocumentFactory.java/1.11/Sat Jan 29 14:52:56 2005// -/UserDataElement.java/1.12/Sat Jan 29 14:52:56 2005// -/XMLErrorHandler.java/1.7/Sat Jan 29 14:52:56 2005// -/package.html/1.2/Mon May 20 08:14:13 2002// -D diff --git a/src/java/org/dom4j/util/CVS/Repository b/src/java/org/dom4j/util/CVS/Repository deleted file mode 100644 index cd563c74..00000000 --- a/src/java/org/dom4j/util/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/java/org/dom4j/util diff --git a/src/java/org/dom4j/util/CVS/Root b/src/java/org/dom4j/util/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/java/org/dom4j/util/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/java/org/dom4j/xpath/CVS/Entries b/src/java/org/dom4j/xpath/CVS/Entries deleted file mode 100644 index c5081083..00000000 --- a/src/java/org/dom4j/xpath/CVS/Entries +++ /dev/null @@ -1,6 +0,0 @@ -/DefaultNamespaceContext.java/1.9/Sat Jan 29 14:52:56 2005// -/DefaultXPath.java/1.33/Sat Jan 29 14:52:56 2005// -/XPathPattern.java/1.18/Sat Jan 29 14:52:56 2005// -/overview.html/1.2/Mon May 20 08:14:13 2002// -/package.html/1.2/Mon May 20 08:14:14 2002// -D diff --git a/src/java/org/dom4j/xpath/CVS/Entries.Log b/src/java/org/dom4j/xpath/CVS/Entries.Log deleted file mode 100644 index 3ad86d20..00000000 --- a/src/java/org/dom4j/xpath/CVS/Entries.Log +++ /dev/null @@ -1,8 +0,0 @@ -A D/function//// -A D/impl//// -A D/parser//// -A D/util//// -R D/util//// -R D/parser//// -R D/impl//// -R D/function//// diff --git a/src/java/org/dom4j/xpath/CVS/Repository b/src/java/org/dom4j/xpath/CVS/Repository deleted file mode 100644 index a6931bf0..00000000 --- a/src/java/org/dom4j/xpath/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/java/org/dom4j/xpath diff --git a/src/java/org/dom4j/xpath/CVS/Root b/src/java/org/dom4j/xpath/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/java/org/dom4j/xpath/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/java/org/dom4j/xpp/CVS/Entries b/src/java/org/dom4j/xpp/CVS/Entries deleted file mode 100644 index c0ec82b1..00000000 --- a/src/java/org/dom4j/xpp/CVS/Entries +++ /dev/null @@ -1,3 +0,0 @@ -/ProxyXmlStartTag.java/1.8/Sat Jan 29 14:52:56 2005// -/package.html/1.2/Mon May 20 08:14:17 2002// -D diff --git a/src/java/org/dom4j/xpp/CVS/Repository b/src/java/org/dom4j/xpp/CVS/Repository deleted file mode 100644 index dfc98e89..00000000 --- a/src/java/org/dom4j/xpp/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/java/org/dom4j/xpp diff --git a/src/java/org/dom4j/xpp/CVS/Root b/src/java/org/dom4j/xpp/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/java/org/dom4j/xpp/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/java/org/dom4j/Attribute.java b/src/main/java/org/dom4j/Attribute.java similarity index 100% rename from src/java/org/dom4j/Attribute.java rename to src/main/java/org/dom4j/Attribute.java diff --git a/src/java/org/dom4j/Branch.java b/src/main/java/org/dom4j/Branch.java similarity index 100% rename from src/java/org/dom4j/Branch.java rename to src/main/java/org/dom4j/Branch.java diff --git a/src/java/org/dom4j/CDATA.java b/src/main/java/org/dom4j/CDATA.java similarity index 100% rename from src/java/org/dom4j/CDATA.java rename to src/main/java/org/dom4j/CDATA.java diff --git a/src/java/org/dom4j/CharacterData.java b/src/main/java/org/dom4j/CharacterData.java similarity index 100% rename from src/java/org/dom4j/CharacterData.java rename to src/main/java/org/dom4j/CharacterData.java diff --git a/src/java/org/dom4j/Comment.java b/src/main/java/org/dom4j/Comment.java similarity index 100% rename from src/java/org/dom4j/Comment.java rename to src/main/java/org/dom4j/Comment.java diff --git a/src/java/org/dom4j/Document.java b/src/main/java/org/dom4j/Document.java similarity index 100% rename from src/java/org/dom4j/Document.java rename to src/main/java/org/dom4j/Document.java diff --git a/src/java/org/dom4j/DocumentException.java b/src/main/java/org/dom4j/DocumentException.java similarity index 100% rename from src/java/org/dom4j/DocumentException.java rename to src/main/java/org/dom4j/DocumentException.java diff --git a/src/java/org/dom4j/DocumentFactory.java b/src/main/java/org/dom4j/DocumentFactory.java similarity index 100% rename from src/java/org/dom4j/DocumentFactory.java rename to src/main/java/org/dom4j/DocumentFactory.java diff --git a/src/java/org/dom4j/DocumentHelper.java b/src/main/java/org/dom4j/DocumentHelper.java similarity index 100% rename from src/java/org/dom4j/DocumentHelper.java rename to src/main/java/org/dom4j/DocumentHelper.java diff --git a/src/java/org/dom4j/DocumentType.java b/src/main/java/org/dom4j/DocumentType.java similarity index 100% rename from src/java/org/dom4j/DocumentType.java rename to src/main/java/org/dom4j/DocumentType.java diff --git a/src/java/org/dom4j/Element.java b/src/main/java/org/dom4j/Element.java similarity index 100% rename from src/java/org/dom4j/Element.java rename to src/main/java/org/dom4j/Element.java diff --git a/src/java/org/dom4j/ElementHandler.java b/src/main/java/org/dom4j/ElementHandler.java similarity index 100% rename from src/java/org/dom4j/ElementHandler.java rename to src/main/java/org/dom4j/ElementHandler.java diff --git a/src/java/org/dom4j/ElementPath.java b/src/main/java/org/dom4j/ElementPath.java similarity index 100% rename from src/java/org/dom4j/ElementPath.java rename to src/main/java/org/dom4j/ElementPath.java diff --git a/src/java/org/dom4j/Entity.java b/src/main/java/org/dom4j/Entity.java similarity index 100% rename from src/java/org/dom4j/Entity.java rename to src/main/java/org/dom4j/Entity.java diff --git a/src/java/org/dom4j/IllegalAddException.java b/src/main/java/org/dom4j/IllegalAddException.java similarity index 100% rename from src/java/org/dom4j/IllegalAddException.java rename to src/main/java/org/dom4j/IllegalAddException.java diff --git a/src/java/org/dom4j/InvalidXPathException.java b/src/main/java/org/dom4j/InvalidXPathException.java similarity index 100% rename from src/java/org/dom4j/InvalidXPathException.java rename to src/main/java/org/dom4j/InvalidXPathException.java diff --git a/src/java/org/dom4j/Namespace.java b/src/main/java/org/dom4j/Namespace.java similarity index 100% rename from src/java/org/dom4j/Namespace.java rename to src/main/java/org/dom4j/Namespace.java diff --git a/src/java/org/dom4j/Node.java b/src/main/java/org/dom4j/Node.java similarity index 100% rename from src/java/org/dom4j/Node.java rename to src/main/java/org/dom4j/Node.java diff --git a/src/java/org/dom4j/NodeFilter.java b/src/main/java/org/dom4j/NodeFilter.java similarity index 100% rename from src/java/org/dom4j/NodeFilter.java rename to src/main/java/org/dom4j/NodeFilter.java diff --git a/src/java/org/dom4j/ProcessingInstruction.java b/src/main/java/org/dom4j/ProcessingInstruction.java similarity index 100% rename from src/java/org/dom4j/ProcessingInstruction.java rename to src/main/java/org/dom4j/ProcessingInstruction.java diff --git a/src/java/org/dom4j/QName.java b/src/main/java/org/dom4j/QName.java similarity index 100% rename from src/java/org/dom4j/QName.java rename to src/main/java/org/dom4j/QName.java diff --git a/src/java/org/dom4j/Text.java b/src/main/java/org/dom4j/Text.java similarity index 100% rename from src/java/org/dom4j/Text.java rename to src/main/java/org/dom4j/Text.java diff --git a/src/java/org/dom4j/Visitor.java b/src/main/java/org/dom4j/Visitor.java similarity index 100% rename from src/java/org/dom4j/Visitor.java rename to src/main/java/org/dom4j/Visitor.java diff --git a/src/java/org/dom4j/VisitorSupport.java b/src/main/java/org/dom4j/VisitorSupport.java similarity index 100% rename from src/java/org/dom4j/VisitorSupport.java rename to src/main/java/org/dom4j/VisitorSupport.java diff --git a/src/java/org/dom4j/XPath.java b/src/main/java/org/dom4j/XPath.java similarity index 100% rename from src/java/org/dom4j/XPath.java rename to src/main/java/org/dom4j/XPath.java diff --git a/src/java/org/dom4j/XPathException.java b/src/main/java/org/dom4j/XPathException.java similarity index 100% rename from src/java/org/dom4j/XPathException.java rename to src/main/java/org/dom4j/XPathException.java diff --git a/src/java/org/dom4j/bean/BeanAttribute.java b/src/main/java/org/dom4j/bean/BeanAttribute.java similarity index 100% rename from src/java/org/dom4j/bean/BeanAttribute.java rename to src/main/java/org/dom4j/bean/BeanAttribute.java diff --git a/src/java/org/dom4j/bean/BeanAttributeList.java b/src/main/java/org/dom4j/bean/BeanAttributeList.java similarity index 100% rename from src/java/org/dom4j/bean/BeanAttributeList.java rename to src/main/java/org/dom4j/bean/BeanAttributeList.java diff --git a/src/java/org/dom4j/bean/BeanDocumentFactory.java b/src/main/java/org/dom4j/bean/BeanDocumentFactory.java similarity index 100% rename from src/java/org/dom4j/bean/BeanDocumentFactory.java rename to src/main/java/org/dom4j/bean/BeanDocumentFactory.java diff --git a/src/java/org/dom4j/bean/BeanElement.java b/src/main/java/org/dom4j/bean/BeanElement.java similarity index 100% rename from src/java/org/dom4j/bean/BeanElement.java rename to src/main/java/org/dom4j/bean/BeanElement.java diff --git a/src/java/org/dom4j/bean/BeanMetaData.java b/src/main/java/org/dom4j/bean/BeanMetaData.java similarity index 100% rename from src/java/org/dom4j/bean/BeanMetaData.java rename to src/main/java/org/dom4j/bean/BeanMetaData.java diff --git a/src/java/org/dom4j/bean/package.html b/src/main/java/org/dom4j/bean/package.html similarity index 100% rename from src/java/org/dom4j/bean/package.html rename to src/main/java/org/dom4j/bean/package.html diff --git a/src/java/org/dom4j/datatype/DatatypeAttribute.java b/src/main/java/org/dom4j/datatype/DatatypeAttribute.java similarity index 100% rename from src/java/org/dom4j/datatype/DatatypeAttribute.java rename to src/main/java/org/dom4j/datatype/DatatypeAttribute.java diff --git a/src/java/org/dom4j/datatype/DatatypeDocumentFactory.java b/src/main/java/org/dom4j/datatype/DatatypeDocumentFactory.java similarity index 100% rename from src/java/org/dom4j/datatype/DatatypeDocumentFactory.java rename to src/main/java/org/dom4j/datatype/DatatypeDocumentFactory.java diff --git a/src/java/org/dom4j/datatype/DatatypeElement.java b/src/main/java/org/dom4j/datatype/DatatypeElement.java similarity index 100% rename from src/java/org/dom4j/datatype/DatatypeElement.java rename to src/main/java/org/dom4j/datatype/DatatypeElement.java diff --git a/src/java/org/dom4j/datatype/DatatypeElementFactory.java b/src/main/java/org/dom4j/datatype/DatatypeElementFactory.java similarity index 100% rename from src/java/org/dom4j/datatype/DatatypeElementFactory.java rename to src/main/java/org/dom4j/datatype/DatatypeElementFactory.java diff --git a/src/java/org/dom4j/datatype/InvalidSchemaException.java b/src/main/java/org/dom4j/datatype/InvalidSchemaException.java similarity index 100% rename from src/java/org/dom4j/datatype/InvalidSchemaException.java rename to src/main/java/org/dom4j/datatype/InvalidSchemaException.java diff --git a/src/java/org/dom4j/datatype/NamedTypeResolver.java b/src/main/java/org/dom4j/datatype/NamedTypeResolver.java similarity index 100% rename from src/java/org/dom4j/datatype/NamedTypeResolver.java rename to src/main/java/org/dom4j/datatype/NamedTypeResolver.java diff --git a/src/java/org/dom4j/datatype/SchemaParser.java b/src/main/java/org/dom4j/datatype/SchemaParser.java similarity index 100% rename from src/java/org/dom4j/datatype/SchemaParser.java rename to src/main/java/org/dom4j/datatype/SchemaParser.java diff --git a/src/java/org/dom4j/datatype/package.html b/src/main/java/org/dom4j/datatype/package.html similarity index 100% rename from src/java/org/dom4j/datatype/package.html rename to src/main/java/org/dom4j/datatype/package.html diff --git a/src/java/org/dom4j/dom/DOMAttribute.java b/src/main/java/org/dom4j/dom/DOMAttribute.java similarity index 80% rename from src/java/org/dom4j/dom/DOMAttribute.java rename to src/main/java/org/dom4j/dom/DOMAttribute.java index e96bbb20..e48fd8aa 100644 --- a/src/java/org/dom4j/dom/DOMAttribute.java +++ b/src/main/java/org/dom4j/dom/DOMAttribute.java @@ -10,11 +10,7 @@ import org.dom4j.Element; import org.dom4j.QName; import org.dom4j.tree.DefaultAttribute; - -import org.w3c.dom.DOMException; -import org.w3c.dom.Document; -import org.w3c.dom.NamedNodeMap; -import org.w3c.dom.NodeList; +import org.w3c.dom.*; /** *

@@ -179,6 +175,72 @@ public boolean getSpecified() { public org.w3c.dom.Element getOwnerElement() { return DOMNodeHelper.asDOMElement(getParent()); } + + public TypeInfo getSchemaTypeInfo() { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean isId() { + DOMNodeHelper.notSupported(); + return false; + } + + public String getBaseURI() { + DOMNodeHelper.notSupported(); + return null; + } + + public short compareDocumentPosition(Node other) throws DOMException { + DOMNodeHelper.notSupported(); + return 0; + } + + public String getTextContent() throws DOMException { + return getValue(); + } + + public void setTextContent(String textContent) throws DOMException { + this.setValue(textContent); + } + + public boolean isSameNode(Node other) { + return DOMNodeHelper.isNodeSame(this, other); + } + + public String lookupPrefix(String namespaceURI) { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean isDefaultNamespace(String namespaceURI) { + DOMNodeHelper.notSupported(); + return false; + } + + public String lookupNamespaceURI(String prefix) { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean isEqualNode(Node other) { + return DOMNodeHelper.isNodeEquals(this, other); + } + + public Object getFeature(String feature, String version) { + DOMNodeHelper.notSupported(); + return null; + } + + public Object setUserData(String key, Object data, UserDataHandler handler) { + DOMNodeHelper.notSupported(); + return null; + } + + public Object getUserData(String key) { + DOMNodeHelper.notSupported(); + return null; + } } /* diff --git a/src/java/org/dom4j/dom/DOMAttributeNodeMap.java b/src/main/java/org/dom4j/dom/DOMAttributeNodeMap.java similarity index 100% rename from src/java/org/dom4j/dom/DOMAttributeNodeMap.java rename to src/main/java/org/dom4j/dom/DOMAttributeNodeMap.java diff --git a/src/java/org/dom4j/dom/DOMCDATA.java b/src/main/java/org/dom4j/dom/DOMCDATA.java similarity index 82% rename from src/java/org/dom4j/dom/DOMCDATA.java rename to src/main/java/org/dom4j/dom/DOMCDATA.java index 80189a16..2ccc0732 100644 --- a/src/java/org/dom4j/dom/DOMCDATA.java +++ b/src/main/java/org/dom4j/dom/DOMCDATA.java @@ -10,11 +10,7 @@ import org.dom4j.CDATA; import org.dom4j.Element; import org.dom4j.tree.DefaultCDATA; - -import org.w3c.dom.DOMException; -import org.w3c.dom.Document; -import org.w3c.dom.NamedNodeMap; -import org.w3c.dom.NodeList; +import org.w3c.dom.*; /** *

@@ -225,6 +221,78 @@ public org.w3c.dom.Text splitText(int offset) throws DOMException { protected CDATA createCDATA(String text) { return new DOMCDATA(text); } + + public boolean isElementContentWhitespace() { + DOMNodeHelper.notSupported(); + return false; + } + + public String getWholeText() { + DOMNodeHelper.notSupported(); + return null; + } + + public Text replaceWholeText(String content) throws DOMException { + DOMNodeHelper.notSupported(); + return null; + } + + public String getBaseURI() { + DOMNodeHelper.notSupported(); + return null; + } + + public short compareDocumentPosition(Node other) throws DOMException { + DOMNodeHelper.notSupported(); + return 0; + } + + public String getTextContent() throws DOMException { + DOMNodeHelper.notSupported(); + return null; + } + + public void setTextContent(String textContent) throws DOMException { + DOMNodeHelper.notSupported(); + } + + public boolean isSameNode(Node other) { + return DOMNodeHelper.isNodeSame(this, other); + } + + public String lookupPrefix(String namespaceURI) { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean isDefaultNamespace(String namespaceURI) { + DOMNodeHelper.notSupported(); + return false; + } + + public String lookupNamespaceURI(String prefix) { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean isEqualNode(Node other) { + return DOMNodeHelper.isNodeEquals(this, other); + } + + public Object getFeature(String feature, String version) { + DOMNodeHelper.notSupported(); + return null; + } + + public Object setUserData(String key, Object data, UserDataHandler handler) { + DOMNodeHelper.notSupported(); + return null; + } + + public Object getUserData(String key) { + DOMNodeHelper.notSupported(); + return null; + } } /* diff --git a/src/java/org/dom4j/dom/DOMComment.java b/src/main/java/org/dom4j/dom/DOMComment.java similarity index 82% rename from src/java/org/dom4j/dom/DOMComment.java rename to src/main/java/org/dom4j/dom/DOMComment.java index 0fcb04bb..3208927f 100644 --- a/src/java/org/dom4j/dom/DOMComment.java +++ b/src/main/java/org/dom4j/dom/DOMComment.java @@ -9,11 +9,7 @@ import org.dom4j.Element; import org.dom4j.tree.DefaultComment; - -import org.w3c.dom.DOMException; -import org.w3c.dom.Document; -import org.w3c.dom.NamedNodeMap; -import org.w3c.dom.NodeList; +import org.w3c.dom.*; /** *

@@ -187,6 +183,63 @@ public void replaceData(int offset, int count, String arg) throws DOMException { DOMNodeHelper.replaceData(this, offset, count, arg); } + + public String getBaseURI() { + DOMNodeHelper.notSupported(); + return null; + } + + public short compareDocumentPosition(Node other) throws DOMException { + DOMNodeHelper.notSupported(); + return 0; + } + + public String getTextContent() throws DOMException { + DOMNodeHelper.notSupported(); + return null; + } + + public void setTextContent(String textContent) throws DOMException { + DOMNodeHelper.notSupported(); + } + + public boolean isSameNode(Node other) { + return DOMNodeHelper.isNodeSame(this, other); + } + + public String lookupPrefix(String namespaceURI) { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean isDefaultNamespace(String namespaceURI) { + DOMNodeHelper.notSupported(); + return false; + } + + public String lookupNamespaceURI(String prefix) { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean isEqualNode(Node other) { + return DOMNodeHelper.isNodeEquals(this, other); + } + + public Object getFeature(String feature, String version) { + DOMNodeHelper.notSupported(); + return null; + } + + public Object setUserData(String key, Object data, UserDataHandler handler) { + DOMNodeHelper.notSupported(); + return null; + } + + public Object getUserData(String key) { + DOMNodeHelper.notSupported(); + return null; + } } /* diff --git a/src/java/org/dom4j/dom/DOMDocument.java b/src/main/java/org/dom4j/dom/DOMDocument.java similarity index 78% rename from src/java/org/dom4j/dom/DOMDocument.java rename to src/main/java/org/dom4j/dom/DOMDocument.java index d48b87e8..1ee3b2f9 100644 --- a/src/java/org/dom4j/dom/DOMDocument.java +++ b/src/main/java/org/dom4j/dom/DOMDocument.java @@ -7,20 +7,12 @@ package org.dom4j.dom; -import java.util.ArrayList; - import org.dom4j.DocumentFactory; import org.dom4j.QName; import org.dom4j.tree.DefaultDocument; +import org.w3c.dom.*; -import org.w3c.dom.Attr; -import org.w3c.dom.CDATASection; -import org.w3c.dom.DOMException; -import org.w3c.dom.Document; -import org.w3c.dom.EntityReference; -import org.w3c.dom.NamedNodeMap; -import org.w3c.dom.NodeList; -import org.w3c.dom.ProcessingInstruction; +import java.util.ArrayList; /** *

@@ -301,6 +293,130 @@ protected DocumentFactory getDocumentFactory() { return super.getDocumentFactory(); } } + + public String getInputEncoding() { + DOMNodeHelper.notSupported(); + return null; + } + + public String getXmlEncoding() { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean getXmlStandalone() { + DOMNodeHelper.notSupported(); + return false; + } + + public void setXmlStandalone(boolean xmlStandalone) throws DOMException { + DOMNodeHelper.notSupported(); + } + + public String getXmlVersion() { + DOMNodeHelper.notSupported(); + return null; + } + + public void setXmlVersion(String xmlVersion) throws DOMException { + DOMNodeHelper.notSupported(); + } + + public boolean getStrictErrorChecking() { + DOMNodeHelper.notSupported(); + return false; + } + + public void setStrictErrorChecking(boolean strictErrorChecking) { + DOMNodeHelper.notSupported(); + } + + public String getDocumentURI() { + DOMNodeHelper.notSupported(); + return null; + } + + public void setDocumentURI(String documentURI) { + DOMNodeHelper.notSupported(); + } + + public Node adoptNode(Node source) throws DOMException { + DOMNodeHelper.notSupported(); + return null; + } + + public DOMConfiguration getDomConfig() { + DOMNodeHelper.notSupported(); + return null; + } + + public void normalizeDocument() { + DOMNodeHelper.notSupported(); + } + + public Node renameNode(Node n, String namespaceURI, String qualifiedName) throws DOMException { + DOMNodeHelper.notSupported(); + return null; + } + + public String getBaseURI() { + DOMNodeHelper.notSupported(); + return null; + } + + public short compareDocumentPosition(Node other) throws DOMException { + DOMNodeHelper.notSupported(); + return 0; + } + + public String getTextContent() throws DOMException { + DOMNodeHelper.notSupported(); + return null; + } + + public void setTextContent(String textContent) throws DOMException { + DOMNodeHelper.notSupported(); + } + + public boolean isSameNode(Node other) { + DOMNodeHelper.notSupported(); + return false; + } + + public String lookupPrefix(String namespaceURI) { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean isDefaultNamespace(String namespaceURI) { + DOMNodeHelper.notSupported(); + return false; + } + + public String lookupNamespaceURI(String prefix) { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean isEqualNode(Node other) { + DOMNodeHelper.notSupported(); + return false; + } + + public Object getFeature(String feature, String version) { + DOMNodeHelper.notSupported(); + return null; + } + + public Object setUserData(String key, Object data, UserDataHandler handler) { + DOMNodeHelper.notSupported(); + return null; + } + + public Object getUserData(String key) { + DOMNodeHelper.notSupported(); + return null; + } } /* diff --git a/src/java/org/dom4j/dom/DOMDocumentFactory.java b/src/main/java/org/dom4j/dom/DOMDocumentFactory.java similarity index 95% rename from src/java/org/dom4j/dom/DOMDocumentFactory.java rename to src/main/java/org/dom4j/dom/DOMDocumentFactory.java index 1bb84550..d934aee5 100644 --- a/src/java/org/dom4j/dom/DOMDocumentFactory.java +++ b/src/main/java/org/dom4j/dom/DOMDocumentFactory.java @@ -7,23 +7,12 @@ package org.dom4j.dom; -import java.util.Map; - -import org.dom4j.Attribute; -import org.dom4j.CDATA; -import org.dom4j.Comment; -import org.dom4j.Document; -import org.dom4j.DocumentFactory; -import org.dom4j.DocumentType; -import org.dom4j.Element; -import org.dom4j.Entity; -import org.dom4j.Namespace; -import org.dom4j.ProcessingInstruction; -import org.dom4j.QName; -import org.dom4j.Text; +import org.dom4j.*; import org.dom4j.util.SingletonStrategy; import org.w3c.dom.DOMException; +import java.util.Map; + /** *

* DOMDocumentFactory is a factory of DOM4J objects which @@ -174,6 +163,11 @@ protected DOMDocumentType asDocumentType(org.w3c.dom.DocumentType docType) { docType.getPublicId(), docType.getSystemId()); } } + + public Object getFeature(String feature, String version) { + DOMNodeHelper.notSupported(); + return null; + } } diff --git a/src/java/org/dom4j/dom/DOMDocumentType.java b/src/main/java/org/dom4j/dom/DOMDocumentType.java similarity index 80% rename from src/java/org/dom4j/dom/DOMDocumentType.java rename to src/main/java/org/dom4j/dom/DOMDocumentType.java index 9b45542c..fdc1f3b2 100644 --- a/src/java/org/dom4j/dom/DOMDocumentType.java +++ b/src/main/java/org/dom4j/dom/DOMDocumentType.java @@ -8,11 +8,7 @@ package org.dom4j.dom; import org.dom4j.tree.DefaultDocumentType; - -import org.w3c.dom.DOMException; -import org.w3c.dom.Document; -import org.w3c.dom.NamedNodeMap; -import org.w3c.dom.NodeList; +import org.w3c.dom.*; /** *

@@ -177,6 +173,69 @@ public String getSystemId() { public String getInternalSubset() { return getElementName(); } + + public String getBaseURI() { + DOMNodeHelper.notSupported(); + return null; + } + + public short compareDocumentPosition(Node other) throws DOMException { + DOMNodeHelper.notSupported(); + return 0; + } + + public String getTextContent() throws DOMException { + DOMNodeHelper.notSupported(); + return null; + } + + public void setTextContent(String textContent) throws DOMException { + DOMNodeHelper.notSupported(); + } + + public boolean isSameNode(Node other) { + DOMNodeHelper.notSupported(); + return false; + } + + public String lookupPrefix(String namespaceURI) { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean isDefaultNamespace(String namespaceURI) { + DOMNodeHelper.notSupported(); + return false; + } + + public String lookupNamespaceURI(String prefix) { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean isEqualNode(Node other) { + return DOMNodeHelper.isNodeEquals(this, other); + } + + public Object getFeature(String feature, String version) { + DOMNodeHelper.notSupported(); + return null; + } + + public Object setUserData(String key, Object data, UserDataHandler handler) { + DOMNodeHelper.notSupported(); + return null; + } + + public Object getUserData(String key) { + DOMNodeHelper.notSupported(); + return null; + } + + public short getNodeType() { + DOMNodeHelper.notSupported(); + return 0; + } } /* diff --git a/src/java/org/dom4j/dom/DOMElement.java b/src/main/java/org/dom4j/dom/DOMElement.java similarity index 87% rename from src/java/org/dom4j/dom/DOMElement.java rename to src/main/java/org/dom4j/dom/DOMElement.java index 5634adbb..0b6d547f 100644 --- a/src/java/org/dom4j/dom/DOMElement.java +++ b/src/main/java/org/dom4j/dom/DOMElement.java @@ -7,20 +7,15 @@ package org.dom4j.dom; -import java.util.ArrayList; -import java.util.List; - import org.dom4j.Attribute; import org.dom4j.DocumentFactory; import org.dom4j.Namespace; import org.dom4j.QName; import org.dom4j.tree.DefaultElement; +import org.w3c.dom.*; -import org.w3c.dom.DOMException; -import org.w3c.dom.Document; -import org.w3c.dom.NamedNodeMap; -import org.w3c.dom.Node; -import org.w3c.dom.NodeList; +import java.util.ArrayList; +import java.util.List; /** *

@@ -389,6 +384,80 @@ protected QName getQName(String namespace, String qualifiedName) { return getDocumentFactory().createQName(localName, prefix, namespace); } + + public TypeInfo getSchemaTypeInfo() { + DOMNodeHelper.notSupported(); + return null; + } + + public void setIdAttribute(String name, boolean isId) throws DOMException { + DOMNodeHelper.notSupported(); + } + + public void setIdAttributeNS(String namespaceURI, String localName, boolean isId) throws DOMException { + DOMNodeHelper.notSupported(); + } + + public void setIdAttributeNode(Attr idAttr, boolean isId) throws DOMException { + DOMNodeHelper.notSupported(); + } + + public String getBaseURI() { + DOMNodeHelper.notSupported(); + return null; + } + + public short compareDocumentPosition(Node other) throws DOMException { + DOMNodeHelper.notSupported(); + return 0; + } + + public String getTextContent() throws DOMException { + DOMNodeHelper.notSupported(); + return null; + } + + public void setTextContent(String textContent) throws DOMException { + DOMNodeHelper.notSupported(); + } + + public boolean isSameNode(Node other) { + return DOMNodeHelper.isNodeSame(this, other); + } + + public String lookupPrefix(String namespaceURI) { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean isDefaultNamespace(String namespaceURI) { + DOMNodeHelper.notSupported(); + return false; + } + + public String lookupNamespaceURI(String prefix) { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean isEqualNode(Node other) { + return DOMNodeHelper.isNodeEquals(this, other); + } + + public Object getFeature(String feature, String version) { + DOMNodeHelper.notSupported(); + return null; + } + + public Object setUserData(String key, Object data, UserDataHandler handler) { + DOMNodeHelper.notSupported(); + return null; + } + + public Object getUserData(String key) { + DOMNodeHelper.notSupported(); + return null; + } } /* diff --git a/src/java/org/dom4j/dom/DOMEntityReference.java b/src/main/java/org/dom4j/dom/DOMEntityReference.java similarity index 81% rename from src/java/org/dom4j/dom/DOMEntityReference.java rename to src/main/java/org/dom4j/dom/DOMEntityReference.java index 95b1368f..f3c62a6d 100644 --- a/src/java/org/dom4j/dom/DOMEntityReference.java +++ b/src/main/java/org/dom4j/dom/DOMEntityReference.java @@ -9,11 +9,7 @@ import org.dom4j.Element; import org.dom4j.tree.DefaultEntity; - -import org.w3c.dom.DOMException; -import org.w3c.dom.Document; -import org.w3c.dom.NamedNodeMap; -import org.w3c.dom.NodeList; +import org.w3c.dom.*; /** *

@@ -166,6 +162,65 @@ public boolean isSupported(String feature, String version) { public boolean hasAttributes() { return DOMNodeHelper.hasAttributes(this); } + + public String getBaseURI() { + DOMNodeHelper.notSupported(); + return null; + } + + public short compareDocumentPosition(Node other) throws DOMException { + DOMNodeHelper.notSupported(); + return 0; + } + + public String getTextContent() throws DOMException { + DOMNodeHelper.notSupported(); + return null; + } + + public void setTextContent(String textContent) throws DOMException { + DOMNodeHelper.notSupported(); + } + + public boolean isSameNode(Node other) { + DOMNodeHelper.notSupported(); + return false; + } + + public String lookupPrefix(String namespaceURI) { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean isDefaultNamespace(String namespaceURI) { + DOMNodeHelper.notSupported(); + return false; + } + + public String lookupNamespaceURI(String prefix) { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean isEqualNode(Node other) { + DOMNodeHelper.notSupported(); + return false; + } + + public Object getFeature(String feature, String version) { + DOMNodeHelper.notSupported(); + return null; + } + + public Object setUserData(String key, Object data, UserDataHandler handler) { + DOMNodeHelper.notSupported(); + return null; + } + + public Object getUserData(String key) { + DOMNodeHelper.notSupported(); + return null; + } } /* diff --git a/src/java/org/dom4j/dom/DOMNamespace.java b/src/main/java/org/dom4j/dom/DOMNamespace.java similarity index 79% rename from src/java/org/dom4j/dom/DOMNamespace.java rename to src/main/java/org/dom4j/dom/DOMNamespace.java index 6f87482e..e273d8b9 100644 --- a/src/java/org/dom4j/dom/DOMNamespace.java +++ b/src/main/java/org/dom4j/dom/DOMNamespace.java @@ -9,11 +9,7 @@ import org.dom4j.Element; import org.dom4j.tree.DefaultNamespace; - -import org.w3c.dom.DOMException; -import org.w3c.dom.Document; -import org.w3c.dom.NamedNodeMap; -import org.w3c.dom.NodeList; +import org.w3c.dom.*; /** *

@@ -140,6 +136,63 @@ public boolean isSupported(String feature, String version) { public boolean hasAttributes() { return DOMNodeHelper.hasAttributes(this); } + + public String getBaseURI() { + DOMNodeHelper.notSupported(); + return null; + } + + public short compareDocumentPosition(Node other) throws DOMException { + DOMNodeHelper.notSupported(); + return 0; + } + + public String getTextContent() throws DOMException { + DOMNodeHelper.notSupported(); + return null; + } + + public void setTextContent(String textContent) throws DOMException { + DOMNodeHelper.notSupported(); + } + + public boolean isSameNode(Node other) { + return DOMNodeHelper.isNodeSame(this, other); + } + + public String lookupPrefix(String namespaceURI) { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean isDefaultNamespace(String namespaceURI) { + DOMNodeHelper.notSupported(); + return false; + } + + public String lookupNamespaceURI(String prefix) { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean isEqualNode(Node other) { + return DOMNodeHelper.isNodeEquals(this, other); + } + + public Object getFeature(String feature, String version) { + DOMNodeHelper.notSupported(); + return null; + } + + public Object setUserData(String key, Object data, UserDataHandler handler) { + DOMNodeHelper.notSupported(); + return null; + } + + public Object getUserData(String key) { + DOMNodeHelper.notSupported(); + return null; + } } /* diff --git a/src/java/org/dom4j/dom/DOMNodeHelper.java b/src/main/java/org/dom4j/dom/DOMNodeHelper.java similarity index 92% rename from src/java/org/dom4j/dom/DOMNodeHelper.java rename to src/main/java/org/dom4j/dom/DOMNodeHelper.java index f417858a..b1acab80 100644 --- a/src/java/org/dom4j/dom/DOMNodeHelper.java +++ b/src/main/java/org/dom4j/dom/DOMNodeHelper.java @@ -7,19 +7,13 @@ package org.dom4j.dom; -import java.util.List; - -import org.dom4j.Branch; -import org.dom4j.CharacterData; -import org.dom4j.Document; -import org.dom4j.DocumentType; -import org.dom4j.Element; -import org.dom4j.Node; - +import org.dom4j.*; import org.w3c.dom.DOMException; import org.w3c.dom.NamedNodeMap; import org.w3c.dom.NodeList; +import java.util.List; + /** *

* DOMNodeHelper contains a collection of utility methods for use @@ -543,6 +537,48 @@ public int getLength() { return 0; } } + + public static boolean isStringEquals(String string1, String string2) { + if (string1 == null && string2 == null) { + return true; + } + if (string1 == null || string2 == null) { + return false; + } + return string1.equals(string2); + } + + public static boolean isNodeEquals(org.w3c.dom.Node node1, org.w3c.dom.Node node2) { + if (node1 == null && node2 == null) { + return true; + } + if (node1 == null || node2 == null) { + return false; + } + if (node1.getNodeType() != node2.getNodeType()) { + return false; + } + if (!isStringEquals(node1.getNodeName(), node2.getNodeName())) { + return false; + } + if (!isStringEquals(node1.getLocalName(), node2.getLocalName())) { + return false; + } + if (!isStringEquals(node1.getNamespaceURI(), node2.getNamespaceURI())) { + return false; + } + if (!isStringEquals(node1.getPrefix(), node2.getPrefix())) { + return false; + } + if (!isStringEquals(node1.getNodeValue(), node2.getNodeValue())) { + return false; + } + return true; + } + + public static boolean isNodeSame(org.w3c.dom.Node node1, org.w3c.dom.Node node2) { + return node1 == node2; + } } /* diff --git a/src/java/org/dom4j/dom/DOMProcessingInstruction.java b/src/main/java/org/dom4j/dom/DOMProcessingInstruction.java similarity index 82% rename from src/java/org/dom4j/dom/DOMProcessingInstruction.java rename to src/main/java/org/dom4j/dom/DOMProcessingInstruction.java index 0d5f5a35..f705b72b 100644 --- a/src/java/org/dom4j/dom/DOMProcessingInstruction.java +++ b/src/main/java/org/dom4j/dom/DOMProcessingInstruction.java @@ -7,15 +7,11 @@ package org.dom4j.dom; -import java.util.Map; - import org.dom4j.Element; import org.dom4j.tree.DefaultProcessingInstruction; +import org.w3c.dom.*; -import org.w3c.dom.DOMException; -import org.w3c.dom.Document; -import org.w3c.dom.NamedNodeMap; -import org.w3c.dom.NodeList; +import java.util.Map; /** *

@@ -179,6 +175,64 @@ public void setData(String data) throws DOMException { // Implementation methods // ------------------------------------------------------------------------- + + public String getBaseURI() { + DOMNodeHelper.notSupported(); + return null; + } + + public short compareDocumentPosition(Node other) throws DOMException { + DOMNodeHelper.notSupported(); + return 0; + } + + public String getTextContent() throws DOMException { + DOMNodeHelper.notSupported(); + return null; + } + + public void setTextContent(String textContent) throws DOMException { + DOMNodeHelper.notSupported(); + } + + public boolean isSameNode(Node other) { + DOMNodeHelper.notSupported(); + return false; + } + + public String lookupPrefix(String namespaceURI) { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean isDefaultNamespace(String namespaceURI) { + DOMNodeHelper.notSupported(); + return false; + } + + public String lookupNamespaceURI(String prefix) { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean isEqualNode(Node other) { + DOMNodeHelper.notSupported(); + return false; + } + + public Object getFeature(String feature, String version) { + DOMNodeHelper.notSupported(); + return null; + } + + public Object setUserData(String key, Object data, UserDataHandler handler) { + DOMNodeHelper.notSupported(); + return null; + } + + public Object getUserData(String key) { + throw new UnsupportedOperationException("Not supported yet."); + } } /* diff --git a/src/java/org/dom4j/dom/DOMText.java b/src/main/java/org/dom4j/dom/DOMText.java similarity index 82% rename from src/java/org/dom4j/dom/DOMText.java rename to src/main/java/org/dom4j/dom/DOMText.java index e098e398..525a72cf 100644 --- a/src/java/org/dom4j/dom/DOMText.java +++ b/src/main/java/org/dom4j/dom/DOMText.java @@ -10,11 +10,7 @@ import org.dom4j.Element; import org.dom4j.Text; import org.dom4j.tree.DefaultText; - -import org.w3c.dom.DOMException; -import org.w3c.dom.Document; -import org.w3c.dom.NamedNodeMap; -import org.w3c.dom.NodeList; +import org.w3c.dom.*; /** *

@@ -224,6 +220,79 @@ public org.w3c.dom.Text splitText(int offset) throws DOMException { protected Text createText(String text) { return new DOMText(text); } + public boolean isElementContentWhitespace() { + DOMNodeHelper.notSupported(); + return false; + } + + public String getWholeText() { + DOMNodeHelper.notSupported(); + return null; + } + + public org.w3c.dom.Text replaceWholeText(String content) throws DOMException { + DOMNodeHelper.notSupported(); + return null; + } + + public String getBaseURI() { + DOMNodeHelper.notSupported(); + return null; + } + + public short compareDocumentPosition(Node other) throws DOMException { + DOMNodeHelper.notSupported(); + return 0; + } + + public String getTextContent() throws DOMException { + DOMNodeHelper.notSupported(); + return null; + } + + public void setTextContent(String textContent) throws DOMException { + DOMNodeHelper.notSupported(); + } + + + public boolean isSameNode(Node other) { + return DOMNodeHelper.isNodeSame(this, other); + } + + public String lookupPrefix(String namespaceURI) { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean isDefaultNamespace(String namespaceURI) { + DOMNodeHelper.notSupported(); + return false; + } + + public String lookupNamespaceURI(String prefix) { + DOMNodeHelper.notSupported(); + return null; + } + + public boolean isEqualNode(Node other) { + DOMNodeHelper.notSupported(); + return false; + } + + public Object getFeature(String feature, String version) { + DOMNodeHelper.notSupported(); + return null; + } + + public Object setUserData(String key, Object data, UserDataHandler handler) { + DOMNodeHelper.notSupported(); + return null; + } + + public Object getUserData(String key) { + DOMNodeHelper.notSupported(); + return null; + } } /* diff --git a/src/java/org/dom4j/dom/package.html b/src/main/java/org/dom4j/dom/package.html similarity index 100% rename from src/java/org/dom4j/dom/package.html rename to src/main/java/org/dom4j/dom/package.html diff --git a/src/java/org/dom4j/dtd/AttributeDecl.java b/src/main/java/org/dom4j/dtd/AttributeDecl.java similarity index 100% rename from src/java/org/dom4j/dtd/AttributeDecl.java rename to src/main/java/org/dom4j/dtd/AttributeDecl.java diff --git a/src/java/org/dom4j/dtd/ElementDecl.java b/src/main/java/org/dom4j/dtd/ElementDecl.java similarity index 100% rename from src/java/org/dom4j/dtd/ElementDecl.java rename to src/main/java/org/dom4j/dtd/ElementDecl.java diff --git a/src/java/org/dom4j/dtd/ExternalEntityDecl.java b/src/main/java/org/dom4j/dtd/ExternalEntityDecl.java similarity index 100% rename from src/java/org/dom4j/dtd/ExternalEntityDecl.java rename to src/main/java/org/dom4j/dtd/ExternalEntityDecl.java diff --git a/src/java/org/dom4j/dtd/InternalEntityDecl.java b/src/main/java/org/dom4j/dtd/InternalEntityDecl.java similarity index 100% rename from src/java/org/dom4j/dtd/InternalEntityDecl.java rename to src/main/java/org/dom4j/dtd/InternalEntityDecl.java diff --git a/src/java/org/dom4j/dtd/package.html b/src/main/java/org/dom4j/dtd/package.html similarity index 100% rename from src/java/org/dom4j/dtd/package.html rename to src/main/java/org/dom4j/dtd/package.html diff --git a/src/java/org/dom4j/io/DOMDocumentResult.java b/src/main/java/org/dom4j/io/DOMDocumentResult.java similarity index 100% rename from src/java/org/dom4j/io/DOMDocumentResult.java rename to src/main/java/org/dom4j/io/DOMDocumentResult.java diff --git a/src/java/org/dom4j/io/DOMReader.java b/src/main/java/org/dom4j/io/DOMReader.java similarity index 100% rename from src/java/org/dom4j/io/DOMReader.java rename to src/main/java/org/dom4j/io/DOMReader.java diff --git a/src/java/org/dom4j/io/DOMSAXContentHandler.java b/src/main/java/org/dom4j/io/DOMSAXContentHandler.java similarity index 100% rename from src/java/org/dom4j/io/DOMSAXContentHandler.java rename to src/main/java/org/dom4j/io/DOMSAXContentHandler.java diff --git a/src/java/org/dom4j/io/DOMWriter.java b/src/main/java/org/dom4j/io/DOMWriter.java similarity index 100% rename from src/java/org/dom4j/io/DOMWriter.java rename to src/main/java/org/dom4j/io/DOMWriter.java diff --git a/src/java/org/dom4j/io/DispatchHandler.java b/src/main/java/org/dom4j/io/DispatchHandler.java similarity index 100% rename from src/java/org/dom4j/io/DispatchHandler.java rename to src/main/java/org/dom4j/io/DispatchHandler.java diff --git a/src/java/org/dom4j/io/DocumentInputSource.java b/src/main/java/org/dom4j/io/DocumentInputSource.java similarity index 100% rename from src/java/org/dom4j/io/DocumentInputSource.java rename to src/main/java/org/dom4j/io/DocumentInputSource.java diff --git a/src/java/org/dom4j/io/DocumentResult.java b/src/main/java/org/dom4j/io/DocumentResult.java similarity index 100% rename from src/java/org/dom4j/io/DocumentResult.java rename to src/main/java/org/dom4j/io/DocumentResult.java diff --git a/src/java/org/dom4j/io/DocumentSource.java b/src/main/java/org/dom4j/io/DocumentSource.java similarity index 100% rename from src/java/org/dom4j/io/DocumentSource.java rename to src/main/java/org/dom4j/io/DocumentSource.java diff --git a/src/java/org/dom4j/io/ElementModifier.java b/src/main/java/org/dom4j/io/ElementModifier.java similarity index 100% rename from src/java/org/dom4j/io/ElementModifier.java rename to src/main/java/org/dom4j/io/ElementModifier.java diff --git a/src/java/org/dom4j/io/ElementStack.java b/src/main/java/org/dom4j/io/ElementStack.java similarity index 100% rename from src/java/org/dom4j/io/ElementStack.java rename to src/main/java/org/dom4j/io/ElementStack.java diff --git a/src/java/org/dom4j/io/HTMLWriter.java b/src/main/java/org/dom4j/io/HTMLWriter.java similarity index 100% rename from src/java/org/dom4j/io/HTMLWriter.java rename to src/main/java/org/dom4j/io/HTMLWriter.java diff --git a/src/java/org/dom4j/io/JAXPHelper.java b/src/main/java/org/dom4j/io/JAXPHelper.java similarity index 100% rename from src/java/org/dom4j/io/JAXPHelper.java rename to src/main/java/org/dom4j/io/JAXPHelper.java diff --git a/src/java/org/dom4j/io/OutputFormat.java b/src/main/java/org/dom4j/io/OutputFormat.java similarity index 100% rename from src/java/org/dom4j/io/OutputFormat.java rename to src/main/java/org/dom4j/io/OutputFormat.java diff --git a/src/java/org/dom4j/io/PruningDispatchHandler.java b/src/main/java/org/dom4j/io/PruningDispatchHandler.java similarity index 100% rename from src/java/org/dom4j/io/PruningDispatchHandler.java rename to src/main/java/org/dom4j/io/PruningDispatchHandler.java diff --git a/src/java/org/dom4j/io/PruningElementStack.java b/src/main/java/org/dom4j/io/PruningElementStack.java similarity index 100% rename from src/java/org/dom4j/io/PruningElementStack.java rename to src/main/java/org/dom4j/io/PruningElementStack.java diff --git a/src/java/org/dom4j/io/SAXContentHandler.java b/src/main/java/org/dom4j/io/SAXContentHandler.java similarity index 100% rename from src/java/org/dom4j/io/SAXContentHandler.java rename to src/main/java/org/dom4j/io/SAXContentHandler.java diff --git a/src/java/org/dom4j/io/SAXEventRecorder.java b/src/main/java/org/dom4j/io/SAXEventRecorder.java similarity index 100% rename from src/java/org/dom4j/io/SAXEventRecorder.java rename to src/main/java/org/dom4j/io/SAXEventRecorder.java diff --git a/src/java/org/dom4j/io/SAXHelper.java b/src/main/java/org/dom4j/io/SAXHelper.java similarity index 100% rename from src/java/org/dom4j/io/SAXHelper.java rename to src/main/java/org/dom4j/io/SAXHelper.java diff --git a/src/java/org/dom4j/io/SAXModifier.java b/src/main/java/org/dom4j/io/SAXModifier.java similarity index 100% rename from src/java/org/dom4j/io/SAXModifier.java rename to src/main/java/org/dom4j/io/SAXModifier.java diff --git a/src/java/org/dom4j/io/SAXModifyContentHandler.java b/src/main/java/org/dom4j/io/SAXModifyContentHandler.java similarity index 100% rename from src/java/org/dom4j/io/SAXModifyContentHandler.java rename to src/main/java/org/dom4j/io/SAXModifyContentHandler.java diff --git a/src/java/org/dom4j/io/SAXModifyElementHandler.java b/src/main/java/org/dom4j/io/SAXModifyElementHandler.java similarity index 100% rename from src/java/org/dom4j/io/SAXModifyElementHandler.java rename to src/main/java/org/dom4j/io/SAXModifyElementHandler.java diff --git a/src/java/org/dom4j/io/SAXModifyException.java b/src/main/java/org/dom4j/io/SAXModifyException.java similarity index 100% rename from src/java/org/dom4j/io/SAXModifyException.java rename to src/main/java/org/dom4j/io/SAXModifyException.java diff --git a/src/java/org/dom4j/io/SAXModifyReader.java b/src/main/java/org/dom4j/io/SAXModifyReader.java similarity index 100% rename from src/java/org/dom4j/io/SAXModifyReader.java rename to src/main/java/org/dom4j/io/SAXModifyReader.java diff --git a/src/java/org/dom4j/io/SAXReader.java b/src/main/java/org/dom4j/io/SAXReader.java similarity index 100% rename from src/java/org/dom4j/io/SAXReader.java rename to src/main/java/org/dom4j/io/SAXReader.java diff --git a/src/java/org/dom4j/io/SAXValidator.java b/src/main/java/org/dom4j/io/SAXValidator.java similarity index 100% rename from src/java/org/dom4j/io/SAXValidator.java rename to src/main/java/org/dom4j/io/SAXValidator.java diff --git a/src/java/org/dom4j/io/SAXWriter.java b/src/main/java/org/dom4j/io/SAXWriter.java similarity index 100% rename from src/java/org/dom4j/io/SAXWriter.java rename to src/main/java/org/dom4j/io/SAXWriter.java diff --git a/src/java/org/dom4j/io/STAXEventReader.java b/src/main/java/org/dom4j/io/STAXEventReader.java similarity index 100% rename from src/java/org/dom4j/io/STAXEventReader.java rename to src/main/java/org/dom4j/io/STAXEventReader.java diff --git a/src/java/org/dom4j/io/STAXEventWriter.java b/src/main/java/org/dom4j/io/STAXEventWriter.java similarity index 100% rename from src/java/org/dom4j/io/STAXEventWriter.java rename to src/main/java/org/dom4j/io/STAXEventWriter.java diff --git a/src/java/org/dom4j/io/XMLResult.java b/src/main/java/org/dom4j/io/XMLResult.java similarity index 100% rename from src/java/org/dom4j/io/XMLResult.java rename to src/main/java/org/dom4j/io/XMLResult.java diff --git a/src/java/org/dom4j/io/XMLWriter.java b/src/main/java/org/dom4j/io/XMLWriter.java similarity index 100% rename from src/java/org/dom4j/io/XMLWriter.java rename to src/main/java/org/dom4j/io/XMLWriter.java diff --git a/src/java/org/dom4j/io/XPP3Reader.java b/src/main/java/org/dom4j/io/XPP3Reader.java similarity index 100% rename from src/java/org/dom4j/io/XPP3Reader.java rename to src/main/java/org/dom4j/io/XPP3Reader.java diff --git a/src/java/org/dom4j/io/XPPReader.java b/src/main/java/org/dom4j/io/XPPReader.java similarity index 100% rename from src/java/org/dom4j/io/XPPReader.java rename to src/main/java/org/dom4j/io/XPPReader.java diff --git a/src/java/org/dom4j/io/package.html b/src/main/java/org/dom4j/io/package.html similarity index 100% rename from src/java/org/dom4j/io/package.html rename to src/main/java/org/dom4j/io/package.html diff --git a/src/java/org/dom4j/jaxb/JAXBModifier.java b/src/main/java/org/dom4j/jaxb/JAXBModifier.java similarity index 100% rename from src/java/org/dom4j/jaxb/JAXBModifier.java rename to src/main/java/org/dom4j/jaxb/JAXBModifier.java diff --git a/src/java/org/dom4j/jaxb/JAXBObjectHandler.java b/src/main/java/org/dom4j/jaxb/JAXBObjectHandler.java similarity index 100% rename from src/java/org/dom4j/jaxb/JAXBObjectHandler.java rename to src/main/java/org/dom4j/jaxb/JAXBObjectHandler.java diff --git a/src/java/org/dom4j/jaxb/JAXBObjectModifier.java b/src/main/java/org/dom4j/jaxb/JAXBObjectModifier.java similarity index 100% rename from src/java/org/dom4j/jaxb/JAXBObjectModifier.java rename to src/main/java/org/dom4j/jaxb/JAXBObjectModifier.java diff --git a/src/java/org/dom4j/jaxb/JAXBReader.java b/src/main/java/org/dom4j/jaxb/JAXBReader.java similarity index 100% rename from src/java/org/dom4j/jaxb/JAXBReader.java rename to src/main/java/org/dom4j/jaxb/JAXBReader.java diff --git a/src/java/org/dom4j/jaxb/JAXBRuntimeException.java b/src/main/java/org/dom4j/jaxb/JAXBRuntimeException.java similarity index 100% rename from src/java/org/dom4j/jaxb/JAXBRuntimeException.java rename to src/main/java/org/dom4j/jaxb/JAXBRuntimeException.java diff --git a/src/java/org/dom4j/jaxb/JAXBSupport.java b/src/main/java/org/dom4j/jaxb/JAXBSupport.java similarity index 100% rename from src/java/org/dom4j/jaxb/JAXBSupport.java rename to src/main/java/org/dom4j/jaxb/JAXBSupport.java diff --git a/src/java/org/dom4j/jaxb/JAXBWriter.java b/src/main/java/org/dom4j/jaxb/JAXBWriter.java similarity index 100% rename from src/java/org/dom4j/jaxb/JAXBWriter.java rename to src/main/java/org/dom4j/jaxb/JAXBWriter.java diff --git a/src/java/org/dom4j/package.html b/src/main/java/org/dom4j/package.html similarity index 100% rename from src/java/org/dom4j/package.html rename to src/main/java/org/dom4j/package.html diff --git a/src/java/org/dom4j/rule/Action.java b/src/main/java/org/dom4j/rule/Action.java similarity index 100% rename from src/java/org/dom4j/rule/Action.java rename to src/main/java/org/dom4j/rule/Action.java diff --git a/src/java/org/dom4j/rule/Mode.java b/src/main/java/org/dom4j/rule/Mode.java similarity index 100% rename from src/java/org/dom4j/rule/Mode.java rename to src/main/java/org/dom4j/rule/Mode.java diff --git a/src/java/org/dom4j/rule/NullAction.java b/src/main/java/org/dom4j/rule/NullAction.java similarity index 100% rename from src/java/org/dom4j/rule/NullAction.java rename to src/main/java/org/dom4j/rule/NullAction.java diff --git a/src/java/org/dom4j/rule/Pattern.java b/src/main/java/org/dom4j/rule/Pattern.java similarity index 100% rename from src/java/org/dom4j/rule/Pattern.java rename to src/main/java/org/dom4j/rule/Pattern.java diff --git a/src/java/org/dom4j/rule/Rule.java b/src/main/java/org/dom4j/rule/Rule.java similarity index 100% rename from src/java/org/dom4j/rule/Rule.java rename to src/main/java/org/dom4j/rule/Rule.java diff --git a/src/java/org/dom4j/rule/RuleManager.java b/src/main/java/org/dom4j/rule/RuleManager.java similarity index 100% rename from src/java/org/dom4j/rule/RuleManager.java rename to src/main/java/org/dom4j/rule/RuleManager.java diff --git a/src/java/org/dom4j/rule/RuleSet.java b/src/main/java/org/dom4j/rule/RuleSet.java similarity index 100% rename from src/java/org/dom4j/rule/RuleSet.java rename to src/main/java/org/dom4j/rule/RuleSet.java diff --git a/src/java/org/dom4j/rule/Stylesheet.java b/src/main/java/org/dom4j/rule/Stylesheet.java similarity index 100% rename from src/java/org/dom4j/rule/Stylesheet.java rename to src/main/java/org/dom4j/rule/Stylesheet.java diff --git a/src/java/org/dom4j/rule/package.html b/src/main/java/org/dom4j/rule/package.html similarity index 100% rename from src/java/org/dom4j/rule/package.html rename to src/main/java/org/dom4j/rule/package.html diff --git a/src/java/org/dom4j/rule/pattern/DefaultPattern.java b/src/main/java/org/dom4j/rule/pattern/DefaultPattern.java similarity index 100% rename from src/java/org/dom4j/rule/pattern/DefaultPattern.java rename to src/main/java/org/dom4j/rule/pattern/DefaultPattern.java diff --git a/src/java/org/dom4j/rule/pattern/NodeTypePattern.java b/src/main/java/org/dom4j/rule/pattern/NodeTypePattern.java similarity index 100% rename from src/java/org/dom4j/rule/pattern/NodeTypePattern.java rename to src/main/java/org/dom4j/rule/pattern/NodeTypePattern.java diff --git a/src/java/org/dom4j/swing/BranchTreeNode.java b/src/main/java/org/dom4j/swing/BranchTreeNode.java similarity index 100% rename from src/java/org/dom4j/swing/BranchTreeNode.java rename to src/main/java/org/dom4j/swing/BranchTreeNode.java diff --git a/src/java/org/dom4j/swing/DocumentTreeModel.java b/src/main/java/org/dom4j/swing/DocumentTreeModel.java similarity index 100% rename from src/java/org/dom4j/swing/DocumentTreeModel.java rename to src/main/java/org/dom4j/swing/DocumentTreeModel.java diff --git a/src/java/org/dom4j/swing/LeafTreeNode.java b/src/main/java/org/dom4j/swing/LeafTreeNode.java similarity index 100% rename from src/java/org/dom4j/swing/LeafTreeNode.java rename to src/main/java/org/dom4j/swing/LeafTreeNode.java diff --git a/src/java/org/dom4j/swing/XMLTableColumnDefinition.java b/src/main/java/org/dom4j/swing/XMLTableColumnDefinition.java similarity index 100% rename from src/java/org/dom4j/swing/XMLTableColumnDefinition.java rename to src/main/java/org/dom4j/swing/XMLTableColumnDefinition.java diff --git a/src/java/org/dom4j/swing/XMLTableDefinition.java b/src/main/java/org/dom4j/swing/XMLTableDefinition.java similarity index 100% rename from src/java/org/dom4j/swing/XMLTableDefinition.java rename to src/main/java/org/dom4j/swing/XMLTableDefinition.java diff --git a/src/java/org/dom4j/swing/XMLTableModel.java b/src/main/java/org/dom4j/swing/XMLTableModel.java similarity index 100% rename from src/java/org/dom4j/swing/XMLTableModel.java rename to src/main/java/org/dom4j/swing/XMLTableModel.java diff --git a/src/java/org/dom4j/swing/package.html b/src/main/java/org/dom4j/swing/package.html similarity index 100% rename from src/java/org/dom4j/swing/package.html rename to src/main/java/org/dom4j/swing/package.html diff --git a/src/java/org/dom4j/tree/AbstractAttribute.java b/src/main/java/org/dom4j/tree/AbstractAttribute.java similarity index 97% rename from src/java/org/dom4j/tree/AbstractAttribute.java rename to src/main/java/org/dom4j/tree/AbstractAttribute.java index f6f86b3c..0455de4f 100644 --- a/src/java/org/dom4j/tree/AbstractAttribute.java +++ b/src/main/java/org/dom4j/tree/AbstractAttribute.java @@ -7,15 +7,11 @@ package org.dom4j.tree; +import org.dom4j.*; + import java.io.IOException; import java.io.Writer; -import org.dom4j.Attribute; -import org.dom4j.Element; -import org.dom4j.Namespace; -import org.dom4j.Node; -import org.dom4j.Visitor; - /** *

* AbstractNamespace is an abstract base class for tree diff --git a/src/java/org/dom4j/tree/AbstractBranch.java b/src/main/java/org/dom4j/tree/AbstractBranch.java similarity index 100% rename from src/java/org/dom4j/tree/AbstractBranch.java rename to src/main/java/org/dom4j/tree/AbstractBranch.java diff --git a/src/java/org/dom4j/tree/AbstractCDATA.java b/src/main/java/org/dom4j/tree/AbstractCDATA.java similarity index 100% rename from src/java/org/dom4j/tree/AbstractCDATA.java rename to src/main/java/org/dom4j/tree/AbstractCDATA.java diff --git a/src/java/org/dom4j/tree/AbstractCharacterData.java b/src/main/java/org/dom4j/tree/AbstractCharacterData.java similarity index 100% rename from src/java/org/dom4j/tree/AbstractCharacterData.java rename to src/main/java/org/dom4j/tree/AbstractCharacterData.java diff --git a/src/java/org/dom4j/tree/AbstractComment.java b/src/main/java/org/dom4j/tree/AbstractComment.java similarity index 100% rename from src/java/org/dom4j/tree/AbstractComment.java rename to src/main/java/org/dom4j/tree/AbstractComment.java diff --git a/src/java/org/dom4j/tree/AbstractDocument.java b/src/main/java/org/dom4j/tree/AbstractDocument.java similarity index 100% rename from src/java/org/dom4j/tree/AbstractDocument.java rename to src/main/java/org/dom4j/tree/AbstractDocument.java diff --git a/src/java/org/dom4j/tree/AbstractDocumentType.java b/src/main/java/org/dom4j/tree/AbstractDocumentType.java similarity index 100% rename from src/java/org/dom4j/tree/AbstractDocumentType.java rename to src/main/java/org/dom4j/tree/AbstractDocumentType.java diff --git a/src/java/org/dom4j/tree/AbstractElement.java b/src/main/java/org/dom4j/tree/AbstractElement.java similarity index 100% rename from src/java/org/dom4j/tree/AbstractElement.java rename to src/main/java/org/dom4j/tree/AbstractElement.java diff --git a/src/java/org/dom4j/tree/AbstractEntity.java b/src/main/java/org/dom4j/tree/AbstractEntity.java similarity index 100% rename from src/java/org/dom4j/tree/AbstractEntity.java rename to src/main/java/org/dom4j/tree/AbstractEntity.java diff --git a/src/java/org/dom4j/tree/AbstractNode.java b/src/main/java/org/dom4j/tree/AbstractNode.java similarity index 100% rename from src/java/org/dom4j/tree/AbstractNode.java rename to src/main/java/org/dom4j/tree/AbstractNode.java diff --git a/src/java/org/dom4j/tree/AbstractProcessingInstruction.java b/src/main/java/org/dom4j/tree/AbstractProcessingInstruction.java similarity index 100% rename from src/java/org/dom4j/tree/AbstractProcessingInstruction.java rename to src/main/java/org/dom4j/tree/AbstractProcessingInstruction.java diff --git a/src/java/org/dom4j/tree/AbstractText.java b/src/main/java/org/dom4j/tree/AbstractText.java similarity index 100% rename from src/java/org/dom4j/tree/AbstractText.java rename to src/main/java/org/dom4j/tree/AbstractText.java diff --git a/src/java/org/dom4j/tree/BackedList.java b/src/main/java/org/dom4j/tree/BackedList.java similarity index 100% rename from src/java/org/dom4j/tree/BackedList.java rename to src/main/java/org/dom4j/tree/BackedList.java diff --git a/src/java/org/dom4j/tree/BaseElement.java b/src/main/java/org/dom4j/tree/BaseElement.java similarity index 100% rename from src/java/org/dom4j/tree/BaseElement.java rename to src/main/java/org/dom4j/tree/BaseElement.java diff --git a/src/java/org/dom4j/tree/ConcurrentReaderHashMap.java b/src/main/java/org/dom4j/tree/ConcurrentReaderHashMap.java similarity index 100% rename from src/java/org/dom4j/tree/ConcurrentReaderHashMap.java rename to src/main/java/org/dom4j/tree/ConcurrentReaderHashMap.java diff --git a/src/java/org/dom4j/tree/ContentListFacade.java b/src/main/java/org/dom4j/tree/ContentListFacade.java similarity index 100% rename from src/java/org/dom4j/tree/ContentListFacade.java rename to src/main/java/org/dom4j/tree/ContentListFacade.java diff --git a/src/java/org/dom4j/tree/DefaultAttribute.java b/src/main/java/org/dom4j/tree/DefaultAttribute.java similarity index 100% rename from src/java/org/dom4j/tree/DefaultAttribute.java rename to src/main/java/org/dom4j/tree/DefaultAttribute.java diff --git a/src/java/org/dom4j/tree/DefaultCDATA.java b/src/main/java/org/dom4j/tree/DefaultCDATA.java similarity index 100% rename from src/java/org/dom4j/tree/DefaultCDATA.java rename to src/main/java/org/dom4j/tree/DefaultCDATA.java diff --git a/src/java/org/dom4j/tree/DefaultComment.java b/src/main/java/org/dom4j/tree/DefaultComment.java similarity index 100% rename from src/java/org/dom4j/tree/DefaultComment.java rename to src/main/java/org/dom4j/tree/DefaultComment.java diff --git a/src/java/org/dom4j/tree/DefaultDocument.java b/src/main/java/org/dom4j/tree/DefaultDocument.java similarity index 100% rename from src/java/org/dom4j/tree/DefaultDocument.java rename to src/main/java/org/dom4j/tree/DefaultDocument.java diff --git a/src/java/org/dom4j/tree/DefaultDocumentType.java b/src/main/java/org/dom4j/tree/DefaultDocumentType.java similarity index 100% rename from src/java/org/dom4j/tree/DefaultDocumentType.java rename to src/main/java/org/dom4j/tree/DefaultDocumentType.java diff --git a/src/java/org/dom4j/tree/DefaultElement.java b/src/main/java/org/dom4j/tree/DefaultElement.java similarity index 100% rename from src/java/org/dom4j/tree/DefaultElement.java rename to src/main/java/org/dom4j/tree/DefaultElement.java diff --git a/src/java/org/dom4j/tree/DefaultEntity.java b/src/main/java/org/dom4j/tree/DefaultEntity.java similarity index 100% rename from src/java/org/dom4j/tree/DefaultEntity.java rename to src/main/java/org/dom4j/tree/DefaultEntity.java diff --git a/src/java/org/dom4j/tree/DefaultNamespace.java b/src/main/java/org/dom4j/tree/DefaultNamespace.java similarity index 100% rename from src/java/org/dom4j/tree/DefaultNamespace.java rename to src/main/java/org/dom4j/tree/DefaultNamespace.java diff --git a/src/java/org/dom4j/tree/DefaultProcessingInstruction.java b/src/main/java/org/dom4j/tree/DefaultProcessingInstruction.java similarity index 100% rename from src/java/org/dom4j/tree/DefaultProcessingInstruction.java rename to src/main/java/org/dom4j/tree/DefaultProcessingInstruction.java diff --git a/src/java/org/dom4j/tree/DefaultText.java b/src/main/java/org/dom4j/tree/DefaultText.java similarity index 100% rename from src/java/org/dom4j/tree/DefaultText.java rename to src/main/java/org/dom4j/tree/DefaultText.java diff --git a/src/java/org/dom4j/tree/ElementIterator.java b/src/main/java/org/dom4j/tree/ElementIterator.java similarity index 100% rename from src/java/org/dom4j/tree/ElementIterator.java rename to src/main/java/org/dom4j/tree/ElementIterator.java diff --git a/src/java/org/dom4j/tree/ElementNameIterator.java b/src/main/java/org/dom4j/tree/ElementNameIterator.java similarity index 100% rename from src/java/org/dom4j/tree/ElementNameIterator.java rename to src/main/java/org/dom4j/tree/ElementNameIterator.java diff --git a/src/java/org/dom4j/tree/ElementQNameIterator.java b/src/main/java/org/dom4j/tree/ElementQNameIterator.java similarity index 100% rename from src/java/org/dom4j/tree/ElementQNameIterator.java rename to src/main/java/org/dom4j/tree/ElementQNameIterator.java diff --git a/src/java/org/dom4j/tree/FilterIterator.java b/src/main/java/org/dom4j/tree/FilterIterator.java similarity index 100% rename from src/java/org/dom4j/tree/FilterIterator.java rename to src/main/java/org/dom4j/tree/FilterIterator.java diff --git a/src/java/org/dom4j/tree/FlyweightAttribute.java b/src/main/java/org/dom4j/tree/FlyweightAttribute.java similarity index 100% rename from src/java/org/dom4j/tree/FlyweightAttribute.java rename to src/main/java/org/dom4j/tree/FlyweightAttribute.java diff --git a/src/java/org/dom4j/tree/FlyweightCDATA.java b/src/main/java/org/dom4j/tree/FlyweightCDATA.java similarity index 100% rename from src/java/org/dom4j/tree/FlyweightCDATA.java rename to src/main/java/org/dom4j/tree/FlyweightCDATA.java diff --git a/src/java/org/dom4j/tree/FlyweightComment.java b/src/main/java/org/dom4j/tree/FlyweightComment.java similarity index 100% rename from src/java/org/dom4j/tree/FlyweightComment.java rename to src/main/java/org/dom4j/tree/FlyweightComment.java diff --git a/src/java/org/dom4j/tree/FlyweightEntity.java b/src/main/java/org/dom4j/tree/FlyweightEntity.java similarity index 100% rename from src/java/org/dom4j/tree/FlyweightEntity.java rename to src/main/java/org/dom4j/tree/FlyweightEntity.java diff --git a/src/java/org/dom4j/tree/FlyweightProcessingInstruction.java b/src/main/java/org/dom4j/tree/FlyweightProcessingInstruction.java similarity index 100% rename from src/java/org/dom4j/tree/FlyweightProcessingInstruction.java rename to src/main/java/org/dom4j/tree/FlyweightProcessingInstruction.java diff --git a/src/java/org/dom4j/tree/FlyweightText.java b/src/main/java/org/dom4j/tree/FlyweightText.java similarity index 100% rename from src/java/org/dom4j/tree/FlyweightText.java rename to src/main/java/org/dom4j/tree/FlyweightText.java diff --git a/src/java/org/dom4j/tree/NamespaceCache.java b/src/main/java/org/dom4j/tree/NamespaceCache.java similarity index 100% rename from src/java/org/dom4j/tree/NamespaceCache.java rename to src/main/java/org/dom4j/tree/NamespaceCache.java diff --git a/src/java/org/dom4j/tree/NamespaceStack.java b/src/main/java/org/dom4j/tree/NamespaceStack.java similarity index 100% rename from src/java/org/dom4j/tree/NamespaceStack.java rename to src/main/java/org/dom4j/tree/NamespaceStack.java diff --git a/src/java/org/dom4j/tree/QNameCache.java b/src/main/java/org/dom4j/tree/QNameCache.java similarity index 100% rename from src/java/org/dom4j/tree/QNameCache.java rename to src/main/java/org/dom4j/tree/QNameCache.java diff --git a/src/java/org/dom4j/tree/SingleIterator.java b/src/main/java/org/dom4j/tree/SingleIterator.java similarity index 100% rename from src/java/org/dom4j/tree/SingleIterator.java rename to src/main/java/org/dom4j/tree/SingleIterator.java diff --git a/src/java/org/dom4j/tree/package.html b/src/main/java/org/dom4j/tree/package.html similarity index 100% rename from src/java/org/dom4j/tree/package.html rename to src/main/java/org/dom4j/tree/package.html diff --git a/src/java/org/dom4j/util/AttributeHelper.java b/src/main/java/org/dom4j/util/AttributeHelper.java similarity index 100% rename from src/java/org/dom4j/util/AttributeHelper.java rename to src/main/java/org/dom4j/util/AttributeHelper.java diff --git a/src/java/org/dom4j/util/IndexedDocumentFactory.java b/src/main/java/org/dom4j/util/IndexedDocumentFactory.java similarity index 100% rename from src/java/org/dom4j/util/IndexedDocumentFactory.java rename to src/main/java/org/dom4j/util/IndexedDocumentFactory.java diff --git a/src/java/org/dom4j/util/IndexedElement.java b/src/main/java/org/dom4j/util/IndexedElement.java similarity index 100% rename from src/java/org/dom4j/util/IndexedElement.java rename to src/main/java/org/dom4j/util/IndexedElement.java diff --git a/src/java/org/dom4j/util/NodeComparator.java b/src/main/java/org/dom4j/util/NodeComparator.java similarity index 100% rename from src/java/org/dom4j/util/NodeComparator.java rename to src/main/java/org/dom4j/util/NodeComparator.java diff --git a/src/java/org/dom4j/util/NonLazyDocumentFactory.java b/src/main/java/org/dom4j/util/NonLazyDocumentFactory.java similarity index 100% rename from src/java/org/dom4j/util/NonLazyDocumentFactory.java rename to src/main/java/org/dom4j/util/NonLazyDocumentFactory.java diff --git a/src/java/org/dom4j/util/NonLazyElement.java b/src/main/java/org/dom4j/util/NonLazyElement.java similarity index 100% rename from src/java/org/dom4j/util/NonLazyElement.java rename to src/main/java/org/dom4j/util/NonLazyElement.java diff --git a/src/java/org/dom4j/util/PerThreadSingleton.java b/src/main/java/org/dom4j/util/PerThreadSingleton.java similarity index 100% rename from src/java/org/dom4j/util/PerThreadSingleton.java rename to src/main/java/org/dom4j/util/PerThreadSingleton.java diff --git a/src/java/org/dom4j/util/ProxyDocumentFactory.java b/src/main/java/org/dom4j/util/ProxyDocumentFactory.java similarity index 100% rename from src/java/org/dom4j/util/ProxyDocumentFactory.java rename to src/main/java/org/dom4j/util/ProxyDocumentFactory.java diff --git a/src/java/org/dom4j/util/SimpleSingleton.java b/src/main/java/org/dom4j/util/SimpleSingleton.java similarity index 100% rename from src/java/org/dom4j/util/SimpleSingleton.java rename to src/main/java/org/dom4j/util/SimpleSingleton.java diff --git a/src/java/org/dom4j/util/SingletonStrategy.java b/src/main/java/org/dom4j/util/SingletonStrategy.java similarity index 100% rename from src/java/org/dom4j/util/SingletonStrategy.java rename to src/main/java/org/dom4j/util/SingletonStrategy.java diff --git a/src/java/org/dom4j/util/UserDataAttribute.java b/src/main/java/org/dom4j/util/UserDataAttribute.java similarity index 100% rename from src/java/org/dom4j/util/UserDataAttribute.java rename to src/main/java/org/dom4j/util/UserDataAttribute.java diff --git a/src/java/org/dom4j/util/UserDataDocumentFactory.java b/src/main/java/org/dom4j/util/UserDataDocumentFactory.java similarity index 100% rename from src/java/org/dom4j/util/UserDataDocumentFactory.java rename to src/main/java/org/dom4j/util/UserDataDocumentFactory.java diff --git a/src/java/org/dom4j/util/UserDataElement.java b/src/main/java/org/dom4j/util/UserDataElement.java similarity index 100% rename from src/java/org/dom4j/util/UserDataElement.java rename to src/main/java/org/dom4j/util/UserDataElement.java diff --git a/src/java/org/dom4j/util/XMLErrorHandler.java b/src/main/java/org/dom4j/util/XMLErrorHandler.java similarity index 100% rename from src/java/org/dom4j/util/XMLErrorHandler.java rename to src/main/java/org/dom4j/util/XMLErrorHandler.java diff --git a/src/java/org/dom4j/util/package.html b/src/main/java/org/dom4j/util/package.html similarity index 100% rename from src/java/org/dom4j/util/package.html rename to src/main/java/org/dom4j/util/package.html diff --git a/src/java/org/dom4j/xpath/DefaultNamespaceContext.java b/src/main/java/org/dom4j/xpath/DefaultNamespaceContext.java similarity index 100% rename from src/java/org/dom4j/xpath/DefaultNamespaceContext.java rename to src/main/java/org/dom4j/xpath/DefaultNamespaceContext.java diff --git a/src/java/org/dom4j/xpath/DefaultXPath.java b/src/main/java/org/dom4j/xpath/DefaultXPath.java similarity index 100% rename from src/java/org/dom4j/xpath/DefaultXPath.java rename to src/main/java/org/dom4j/xpath/DefaultXPath.java diff --git a/src/java/org/dom4j/xpath/XPathPattern.java b/src/main/java/org/dom4j/xpath/XPathPattern.java similarity index 100% rename from src/java/org/dom4j/xpath/XPathPattern.java rename to src/main/java/org/dom4j/xpath/XPathPattern.java diff --git a/src/java/org/dom4j/xpath/overview.html b/src/main/java/org/dom4j/xpath/overview.html similarity index 100% rename from src/java/org/dom4j/xpath/overview.html rename to src/main/java/org/dom4j/xpath/overview.html diff --git a/src/java/org/dom4j/xpath/package.html b/src/main/java/org/dom4j/xpath/package.html similarity index 100% rename from src/java/org/dom4j/xpath/package.html rename to src/main/java/org/dom4j/xpath/package.html diff --git a/src/java/org/dom4j/xpp/ProxyXmlStartTag.java b/src/main/java/org/dom4j/xpp/ProxyXmlStartTag.java similarity index 100% rename from src/java/org/dom4j/xpp/ProxyXmlStartTag.java rename to src/main/java/org/dom4j/xpp/ProxyXmlStartTag.java diff --git a/src/java/org/dom4j/xpp/package.html b/src/main/java/org/dom4j/xpp/package.html similarity index 100% rename from src/java/org/dom4j/xpp/package.html rename to src/main/java/org/dom4j/xpp/package.html diff --git a/src/samples/CVS/Entries b/src/samples/CVS/Entries deleted file mode 100644 index 381094d5..00000000 --- a/src/samples/CVS/Entries +++ /dev/null @@ -1 +0,0 @@ -D/org//// diff --git a/src/samples/CVS/Repository b/src/samples/CVS/Repository deleted file mode 100644 index d48d5591..00000000 --- a/src/samples/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/samples diff --git a/src/samples/CVS/Root b/src/samples/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/samples/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/samples/org/CVS/Entries b/src/samples/org/CVS/Entries deleted file mode 100644 index 17848105..00000000 --- a/src/samples/org/CVS/Entries +++ /dev/null @@ -1 +0,0 @@ -D diff --git a/src/samples/org/CVS/Entries.Log b/src/samples/org/CVS/Entries.Log deleted file mode 100644 index 9e3b1820..00000000 --- a/src/samples/org/CVS/Entries.Log +++ /dev/null @@ -1 +0,0 @@ -A D/dom4j//// diff --git a/src/samples/org/CVS/Repository b/src/samples/org/CVS/Repository deleted file mode 100644 index 4619476a..00000000 --- a/src/samples/org/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/samples/org diff --git a/src/samples/org/CVS/Root b/src/samples/org/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/samples/org/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/samples/org/dom4j/CVS/Entries b/src/samples/org/dom4j/CVS/Entries deleted file mode 100644 index ecd92e28..00000000 --- a/src/samples/org/dom4j/CVS/Entries +++ /dev/null @@ -1 +0,0 @@ -D/samples//// diff --git a/src/samples/org/dom4j/CVS/Repository b/src/samples/org/dom4j/CVS/Repository deleted file mode 100644 index a6844edd..00000000 --- a/src/samples/org/dom4j/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/samples/org/dom4j diff --git a/src/samples/org/dom4j/CVS/Root b/src/samples/org/dom4j/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/samples/org/dom4j/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/samples/org/dom4j/samples/CVS/Entries b/src/samples/org/dom4j/samples/CVS/Entries deleted file mode 100644 index 1055c305..00000000 --- a/src/samples/org/dom4j/samples/CVS/Entries +++ /dev/null @@ -1,20 +0,0 @@ -/AbstractDemo.java/1.4/Sat Jan 29 14:52:57 2005// -/CountDemo.java/1.4/Sat Jan 29 14:52:57 2005// -/CreateXMLDemo.java/1.4/Sat Jan 29 14:52:57 2005// -/DatatypeDemo.java/1.4/Sat Jan 29 14:52:57 2005// -/HTMLWriterDemo.java/1.4/Sat Jan 29 14:52:57 2005// -/JTidyDemo.java/1.4/Sat Jan 29 14:52:57 2005// -/LargeDocumentDemo.java/1.4/Sat Jan 29 14:52:57 2005// -/LargeDocumentDemo2.java/1.4/Sat Jan 29 14:52:57 2005// -/LinkChecker.java/1.4/Sat Jan 29 14:52:57 2005// -/PullParserDemo.java/1.4/Sat Jan 29 14:52:57 2005// -/RoundTripDemo.java/1.4/Sat Jan 29 14:52:57 2005// -/SAXDemo.java/1.4/Sat Jan 29 14:52:57 2005// -/VisitorDemo.java/1.4/Sat Jan 29 14:52:57 2005// -/VisitorDemo2.java/1.4/Sat Jan 29 14:52:57 2005// -/XPathDemo.java/1.4/Sat Jan 29 14:52:57 2005// -/XPathGrep.java/1.5/Sat Jan 29 14:52:57 2005// -/XPathTool.java/1.4/Sat Jan 29 14:52:57 2005// -/XPathValueOf.java/1.4/Sat Jan 29 14:52:57 2005// -/XSLTDemo.java/1.4/Sat Jan 29 14:52:57 2005// -D diff --git a/src/samples/org/dom4j/samples/CVS/Entries.Log b/src/samples/org/dom4j/samples/CVS/Entries.Log deleted file mode 100644 index 417f8129..00000000 --- a/src/samples/org/dom4j/samples/CVS/Entries.Log +++ /dev/null @@ -1,10 +0,0 @@ -A D/applets//// -A D/bean//// -A D/dom//// -A D/jaxb//// -A D/jaxp//// -A D/performance//// -A D/rule//// -A D/sax//// -A D/swing//// -A D/validate//// diff --git a/src/samples/org/dom4j/samples/CVS/Repository b/src/samples/org/dom4j/samples/CVS/Repository deleted file mode 100644 index c98caf6c..00000000 --- a/src/samples/org/dom4j/samples/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/samples/org/dom4j/samples diff --git a/src/samples/org/dom4j/samples/CVS/Root b/src/samples/org/dom4j/samples/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/samples/org/dom4j/samples/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/samples/org/dom4j/samples/applets/CVS/Entries b/src/samples/org/dom4j/samples/applets/CVS/Entries deleted file mode 100644 index 4a007396..00000000 --- a/src/samples/org/dom4j/samples/applets/CVS/Entries +++ /dev/null @@ -1,3 +0,0 @@ -/SimpleAppletDemo.html/1.1/Tue Apr 27 09:24:43 2004// -/SimpleAppletDemo.java/1.4/Sat Jan 29 14:52:57 2005// -D diff --git a/src/samples/org/dom4j/samples/applets/CVS/Repository b/src/samples/org/dom4j/samples/applets/CVS/Repository deleted file mode 100644 index 70f21291..00000000 --- a/src/samples/org/dom4j/samples/applets/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/samples/org/dom4j/samples/applets diff --git a/src/samples/org/dom4j/samples/applets/CVS/Root b/src/samples/org/dom4j/samples/applets/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/samples/org/dom4j/samples/applets/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/samples/org/dom4j/samples/bean/CVS/Entries b/src/samples/org/dom4j/samples/bean/CVS/Entries deleted file mode 100644 index b7f3578f..00000000 --- a/src/samples/org/dom4j/samples/bean/CVS/Entries +++ /dev/null @@ -1,2 +0,0 @@ -/BeanDemo.java/1.4/Sat Jan 29 14:52:58 2005// -D diff --git a/src/samples/org/dom4j/samples/bean/CVS/Repository b/src/samples/org/dom4j/samples/bean/CVS/Repository deleted file mode 100644 index bf1d5d9f..00000000 --- a/src/samples/org/dom4j/samples/bean/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/samples/org/dom4j/samples/bean diff --git a/src/samples/org/dom4j/samples/bean/CVS/Root b/src/samples/org/dom4j/samples/bean/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/samples/org/dom4j/samples/bean/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/samples/org/dom4j/samples/dom/CVS/Entries b/src/samples/org/dom4j/samples/dom/CVS/Entries deleted file mode 100644 index 7bb10577..00000000 --- a/src/samples/org/dom4j/samples/dom/CVS/Entries +++ /dev/null @@ -1,6 +0,0 @@ -/DOMDemo.java/1.4/Sat Jan 29 14:52:58 2005// -/NativeDOMDemo.java/1.4/Sat Jan 29 14:52:58 2005// -/RoundTripDemo.java/1.4/Sat Jan 29 14:52:58 2005// -/SAXDOMDemo.java/1.4/Sat Jan 29 14:52:58 2005// -/XSLTNativeDOMDemo.java/1.4/Sat Jan 29 14:52:58 2005// -D diff --git a/src/samples/org/dom4j/samples/dom/CVS/Repository b/src/samples/org/dom4j/samples/dom/CVS/Repository deleted file mode 100644 index 2fe9ec0f..00000000 --- a/src/samples/org/dom4j/samples/dom/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/samples/org/dom4j/samples/dom diff --git a/src/samples/org/dom4j/samples/dom/CVS/Root b/src/samples/org/dom4j/samples/dom/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/samples/org/dom4j/samples/dom/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/samples/org/dom4j/samples/jaxb/CVS/Entries b/src/samples/org/dom4j/samples/jaxb/CVS/Entries deleted file mode 100644 index 2198e3f8..00000000 --- a/src/samples/org/dom4j/samples/jaxb/CVS/Entries +++ /dev/null @@ -1,4 +0,0 @@ -/JAXBDemo.java/1.3/Sat Jan 29 14:52:58 2005// -/PurchaseOrderDateModifier.java/1.2/Sat Jan 29 14:52:58 2005// -/PurchaseOrderHandler.java/1.3/Sat Jan 29 14:52:58 2005// -D diff --git a/src/samples/org/dom4j/samples/jaxb/CVS/Repository b/src/samples/org/dom4j/samples/jaxb/CVS/Repository deleted file mode 100644 index ced3a1c4..00000000 --- a/src/samples/org/dom4j/samples/jaxb/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/samples/org/dom4j/samples/jaxb diff --git a/src/samples/org/dom4j/samples/jaxb/CVS/Root b/src/samples/org/dom4j/samples/jaxb/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/samples/org/dom4j/samples/jaxb/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/samples/org/dom4j/samples/jaxp/CVS/Entries b/src/samples/org/dom4j/samples/jaxp/CVS/Entries deleted file mode 100644 index 87d61059..00000000 --- a/src/samples/org/dom4j/samples/jaxp/CVS/Entries +++ /dev/null @@ -1,4 +0,0 @@ -/PrettyPrintDemo.java/1.4/Sat Jan 29 14:52:58 2005// -/RoundTripDemo.java/1.4/Sat Jan 29 14:53:13 2005// -/WriterDemo.java/1.4/Sat Jan 29 14:53:13 2005// -D diff --git a/src/samples/org/dom4j/samples/jaxp/CVS/Repository b/src/samples/org/dom4j/samples/jaxp/CVS/Repository deleted file mode 100644 index 6886b074..00000000 --- a/src/samples/org/dom4j/samples/jaxp/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/samples/org/dom4j/samples/jaxp diff --git a/src/samples/org/dom4j/samples/jaxp/CVS/Root b/src/samples/org/dom4j/samples/jaxp/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/samples/org/dom4j/samples/jaxp/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/samples/org/dom4j/samples/performance/CVS/Entries b/src/samples/org/dom4j/samples/performance/CVS/Entries deleted file mode 100644 index 7ca2d9b0..00000000 --- a/src/samples/org/dom4j/samples/performance/CVS/Entries +++ /dev/null @@ -1,8 +0,0 @@ -/ParseLoop.java/1.4/Sat Jan 29 14:53:13 2005// -/ParseTest.java/1.4/Sat Jan 29 14:53:13 2005// -/PerformanceSupport.java/1.4/Sat Jan 29 14:53:13 2005// -/PullParseTest.java/1.4/Sat Jan 29 14:53:13 2005// -/Task.java/1.4/Sat Jan 29 14:53:13 2005// -/Timer.java/1.4/Sat Jan 29 14:53:13 2005// -/ToTextTest.java/1.4/Sat Jan 29 14:53:13 2005// -D diff --git a/src/samples/org/dom4j/samples/performance/CVS/Repository b/src/samples/org/dom4j/samples/performance/CVS/Repository deleted file mode 100644 index c4898876..00000000 --- a/src/samples/org/dom4j/samples/performance/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/samples/org/dom4j/samples/performance diff --git a/src/samples/org/dom4j/samples/performance/CVS/Root b/src/samples/org/dom4j/samples/performance/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/samples/org/dom4j/samples/performance/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/samples/org/dom4j/samples/rule/CVS/Entries b/src/samples/org/dom4j/samples/rule/CVS/Entries deleted file mode 100644 index 5f3f4f52..00000000 --- a/src/samples/org/dom4j/samples/rule/CVS/Entries +++ /dev/null @@ -1,4 +0,0 @@ -/SongFilter.java/1.4/Sat Jan 29 14:53:14 2005// -/SongFilter.xsl/1.3/Fri Jun 25 08:03:45 2004// -/Songs.xml/1.3/Fri Jun 25 08:03:45 2004// -D diff --git a/src/samples/org/dom4j/samples/rule/CVS/Repository b/src/samples/org/dom4j/samples/rule/CVS/Repository deleted file mode 100644 index b4c8b520..00000000 --- a/src/samples/org/dom4j/samples/rule/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/samples/org/dom4j/samples/rule diff --git a/src/samples/org/dom4j/samples/rule/CVS/Root b/src/samples/org/dom4j/samples/rule/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/samples/org/dom4j/samples/rule/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/samples/org/dom4j/samples/sax/CVS/Entries b/src/samples/org/dom4j/samples/sax/CVS/Entries deleted file mode 100644 index 09b751b6..00000000 --- a/src/samples/org/dom4j/samples/sax/CVS/Entries +++ /dev/null @@ -1,3 +0,0 @@ -/FilterDemo.java/1.4/Sat Jan 29 14:53:14 2005// -/TrimXMLFilter.java/1.4/Sat Jan 29 14:53:14 2005// -D diff --git a/src/samples/org/dom4j/samples/sax/CVS/Repository b/src/samples/org/dom4j/samples/sax/CVS/Repository deleted file mode 100644 index 7f3d9094..00000000 --- a/src/samples/org/dom4j/samples/sax/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/samples/org/dom4j/samples/sax diff --git a/src/samples/org/dom4j/samples/sax/CVS/Root b/src/samples/org/dom4j/samples/sax/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/samples/org/dom4j/samples/sax/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/samples/org/dom4j/samples/swing/CVS/Entries b/src/samples/org/dom4j/samples/swing/CVS/Entries deleted file mode 100644 index ab324ee1..00000000 --- a/src/samples/org/dom4j/samples/swing/CVS/Entries +++ /dev/null @@ -1,4 +0,0 @@ -/JTableDemo.java/1.4/Sat Jan 29 14:53:14 2005// -/JTableTool.java/1.4/Sat Jan 29 14:53:14 2005// -/JTreeDemo.java/1.4/Sat Jan 29 14:53:14 2005// -D diff --git a/src/samples/org/dom4j/samples/swing/CVS/Repository b/src/samples/org/dom4j/samples/swing/CVS/Repository deleted file mode 100644 index 26439429..00000000 --- a/src/samples/org/dom4j/samples/swing/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/samples/org/dom4j/samples/swing diff --git a/src/samples/org/dom4j/samples/swing/CVS/Root b/src/samples/org/dom4j/samples/swing/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/samples/org/dom4j/samples/swing/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/samples/org/dom4j/samples/validate/CVS/Entries b/src/samples/org/dom4j/samples/validate/CVS/Entries deleted file mode 100644 index f87eb619..00000000 --- a/src/samples/org/dom4j/samples/validate/CVS/Entries +++ /dev/null @@ -1,5 +0,0 @@ -/JARVDemo.java/1.4/Sat Jan 29 14:53:14 2005// -/JARVDemo2.java/1.4/Sat Jan 29 14:53:14 2005// -/SAXValidatorDemo.java/1.4/Sat Jan 29 14:53:14 2005// -/XercesDemo.java/1.4/Sat Jan 29 14:53:14 2005// -D diff --git a/src/samples/org/dom4j/samples/validate/CVS/Repository b/src/samples/org/dom4j/samples/validate/CVS/Repository deleted file mode 100644 index 79454234..00000000 --- a/src/samples/org/dom4j/samples/validate/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/samples/org/dom4j/samples/validate diff --git a/src/samples/org/dom4j/samples/validate/CVS/Root b/src/samples/org/dom4j/samples/validate/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/samples/org/dom4j/samples/validate/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/test/org/dom4j/AbstractTestCase.java b/src/test/java/org/dom4j/AbstractTestCase.java similarity index 99% rename from src/test/org/dom4j/AbstractTestCase.java rename to src/test/java/org/dom4j/AbstractTestCase.java index 18420146..0f48d2e1 100644 --- a/src/test/org/dom4j/AbstractTestCase.java +++ b/src/test/java/org/dom4j/AbstractTestCase.java @@ -8,15 +8,13 @@ package org.dom4j; import junit.framework.TestCase; - -import java.io.File; - import org.apache.xalan.processor.TransformerFactoryImpl; import org.apache.xerces.jaxp.SAXParserFactoryImpl; - import org.dom4j.io.SAXReader; import org.dom4j.util.NodeComparator; +import java.io.File; + /** * An abstract base class for some DOM4J test cases * diff --git a/src/test/org/dom4j/AddAttributeTest.java b/src/test/java/org/dom4j/AddAttributeTest.java similarity index 100% rename from src/test/org/dom4j/AddAttributeTest.java rename to src/test/java/org/dom4j/AddAttributeTest.java diff --git a/src/test/org/dom4j/AddNodeTest.java b/src/test/java/org/dom4j/AddNodeTest.java similarity index 100% rename from src/test/org/dom4j/AddNodeTest.java rename to src/test/java/org/dom4j/AddNodeTest.java diff --git a/src/test/org/dom4j/AttributeDetachTest.java b/src/test/java/org/dom4j/AttributeDetachTest.java similarity index 100% rename from src/test/org/dom4j/AttributeDetachTest.java rename to src/test/java/org/dom4j/AttributeDetachTest.java diff --git a/src/test/org/dom4j/BackedListTest.java b/src/test/java/org/dom4j/BackedListTest.java similarity index 100% rename from src/test/org/dom4j/BackedListTest.java rename to src/test/java/org/dom4j/BackedListTest.java diff --git a/src/test/org/dom4j/CloneTest.java b/src/test/java/org/dom4j/CloneTest.java similarity index 100% rename from src/test/org/dom4j/CloneTest.java rename to src/test/java/org/dom4j/CloneTest.java diff --git a/src/test/org/dom4j/ContentTest.java b/src/test/java/org/dom4j/ContentTest.java similarity index 100% rename from src/test/org/dom4j/ContentTest.java rename to src/test/java/org/dom4j/ContentTest.java diff --git a/src/test/org/dom4j/CopyTest.java b/src/test/java/org/dom4j/CopyTest.java similarity index 100% rename from src/test/org/dom4j/CopyTest.java rename to src/test/java/org/dom4j/CopyTest.java diff --git a/src/test/org/dom4j/DetachTest.java b/src/test/java/org/dom4j/DetachTest.java similarity index 100% rename from src/test/org/dom4j/DetachTest.java rename to src/test/java/org/dom4j/DetachTest.java diff --git a/src/test/org/dom4j/DocTypeTest.java b/src/test/java/org/dom4j/DocTypeTest.java similarity index 100% rename from src/test/org/dom4j/DocTypeTest.java rename to src/test/java/org/dom4j/DocTypeTest.java diff --git a/src/test/org/dom4j/ElementByIDTest.java b/src/test/java/org/dom4j/ElementByIDTest.java similarity index 100% rename from src/test/org/dom4j/ElementByIDTest.java rename to src/test/java/org/dom4j/ElementByIDTest.java diff --git a/src/test/org/dom4j/EmbeddedHandlerTest.java b/src/test/java/org/dom4j/EmbeddedHandlerTest.java similarity index 100% rename from src/test/org/dom4j/EmbeddedHandlerTest.java rename to src/test/java/org/dom4j/EmbeddedHandlerTest.java diff --git a/src/test/org/dom4j/GetQNamesTest.java b/src/test/java/org/dom4j/GetQNamesTest.java similarity index 100% rename from src/test/org/dom4j/GetQNamesTest.java rename to src/test/java/org/dom4j/GetQNamesTest.java diff --git a/src/test/org/dom4j/GetXMLEncodingTest.java b/src/test/java/org/dom4j/GetXMLEncodingTest.java similarity index 100% rename from src/test/org/dom4j/GetXMLEncodingTest.java rename to src/test/java/org/dom4j/GetXMLEncodingTest.java diff --git a/src/test/org/dom4j/HTMLWriterTest.java b/src/test/java/org/dom4j/HTMLWriterTest.java similarity index 100% rename from src/test/org/dom4j/HTMLWriterTest.java rename to src/test/java/org/dom4j/HTMLWriterTest.java diff --git a/src/test/org/dom4j/IndexedElementTest.java b/src/test/java/org/dom4j/IndexedElementTest.java similarity index 100% rename from src/test/org/dom4j/IndexedElementTest.java rename to src/test/java/org/dom4j/IndexedElementTest.java diff --git a/src/test/org/dom4j/IsTextOnlyTest.java b/src/test/java/org/dom4j/IsTextOnlyTest.java similarity index 100% rename from src/test/org/dom4j/IsTextOnlyTest.java rename to src/test/java/org/dom4j/IsTextOnlyTest.java diff --git a/src/test/org/dom4j/IteratorTest.java b/src/test/java/org/dom4j/IteratorTest.java similarity index 100% rename from src/test/org/dom4j/IteratorTest.java rename to src/test/java/org/dom4j/IteratorTest.java diff --git a/src/test/org/dom4j/LineFeedTest.java b/src/test/java/org/dom4j/LineFeedTest.java similarity index 100% rename from src/test/org/dom4j/LineFeedTest.java rename to src/test/java/org/dom4j/LineFeedTest.java diff --git a/src/test/org/dom4j/MakeElementTest.java b/src/test/java/org/dom4j/MakeElementTest.java similarity index 100% rename from src/test/org/dom4j/MakeElementTest.java rename to src/test/java/org/dom4j/MakeElementTest.java diff --git a/src/test/org/dom4j/MergeTextTest.java b/src/test/java/org/dom4j/MergeTextTest.java similarity index 100% rename from src/test/org/dom4j/MergeTextTest.java rename to src/test/java/org/dom4j/MergeTextTest.java diff --git a/src/test/org/dom4j/NamespaceTest.java b/src/test/java/org/dom4j/NamespaceTest.java similarity index 100% rename from src/test/org/dom4j/NamespaceTest.java rename to src/test/java/org/dom4j/NamespaceTest.java diff --git a/src/test/org/dom4j/NamespacesTest.java b/src/test/java/org/dom4j/NamespacesTest.java similarity index 100% rename from src/test/org/dom4j/NamespacesTest.java rename to src/test/java/org/dom4j/NamespacesTest.java diff --git a/src/test/org/dom4j/NodeTypeNameTest.java b/src/test/java/org/dom4j/NodeTypeNameTest.java similarity index 100% rename from src/test/org/dom4j/NodeTypeNameTest.java rename to src/test/java/org/dom4j/NodeTypeNameTest.java diff --git a/src/test/org/dom4j/NormalizeTest.java b/src/test/java/org/dom4j/NormalizeTest.java similarity index 100% rename from src/test/org/dom4j/NormalizeTest.java rename to src/test/java/org/dom4j/NormalizeTest.java diff --git a/src/test/org/dom4j/NullAttributesTest.java b/src/test/java/org/dom4j/NullAttributesTest.java similarity index 100% rename from src/test/org/dom4j/NullAttributesTest.java rename to src/test/java/org/dom4j/NullAttributesTest.java diff --git a/src/test/org/dom4j/ParentTest.java b/src/test/java/org/dom4j/ParentTest.java similarity index 100% rename from src/test/org/dom4j/ParentTest.java rename to src/test/java/org/dom4j/ParentTest.java diff --git a/src/test/org/dom4j/ParseTextTest.java b/src/test/java/org/dom4j/ParseTextTest.java similarity index 100% rename from src/test/org/dom4j/ParseTextTest.java rename to src/test/java/org/dom4j/ParseTextTest.java diff --git a/src/test/org/dom4j/ProcessingInstructionTest.java b/src/test/java/org/dom4j/ProcessingInstructionTest.java similarity index 100% rename from src/test/org/dom4j/ProcessingInstructionTest.java rename to src/test/java/org/dom4j/ProcessingInstructionTest.java diff --git a/src/test/org/dom4j/RoundTripTest.java b/src/test/java/org/dom4j/RoundTripTest.java similarity index 100% rename from src/test/org/dom4j/RoundTripTest.java rename to src/test/java/org/dom4j/RoundTripTest.java diff --git a/src/test/org/dom4j/SAXContentHandlerTest.java b/src/test/java/org/dom4j/SAXContentHandlerTest.java similarity index 100% rename from src/test/org/dom4j/SAXContentHandlerTest.java rename to src/test/java/org/dom4j/SAXContentHandlerTest.java diff --git a/src/test/org/dom4j/SerializeTest.java b/src/test/java/org/dom4j/SerializeTest.java similarity index 100% rename from src/test/org/dom4j/SerializeTest.java rename to src/test/java/org/dom4j/SerializeTest.java diff --git a/src/test/org/dom4j/SetContentTest.java b/src/test/java/org/dom4j/SetContentTest.java similarity index 100% rename from src/test/org/dom4j/SetContentTest.java rename to src/test/java/org/dom4j/SetContentTest.java diff --git a/src/test/org/dom4j/SetTextTest.java b/src/test/java/org/dom4j/SetTextTest.java similarity index 100% rename from src/test/org/dom4j/SetTextTest.java rename to src/test/java/org/dom4j/SetTextTest.java diff --git a/src/test/org/dom4j/ThreadingTest.java b/src/test/java/org/dom4j/ThreadingTest.java similarity index 99% rename from src/test/org/dom4j/ThreadingTest.java rename to src/test/java/org/dom4j/ThreadingTest.java index d1945b78..6acaa2f0 100644 --- a/src/test/org/dom4j/ThreadingTest.java +++ b/src/test/java/org/dom4j/ThreadingTest.java @@ -16,6 +16,7 @@ import junit.framework.TestSuite; import junit.textui.TestRunner; +import org.junit.Ignore; import java.text.FieldPosition; import java.text.SimpleDateFormat; @@ -27,6 +28,7 @@ * @author David Lucas * @version $Revision: 1.3 $ */ +@Ignore public class ThreadingTest extends AbstractTestCase { private static final ThreadLocal FORMATTER_CACHE = new ThreadLocal(); diff --git a/src/test/org/dom4j/UserDataTest.java b/src/test/java/org/dom4j/UserDataTest.java similarity index 100% rename from src/test/org/dom4j/UserDataTest.java rename to src/test/java/org/dom4j/UserDataTest.java diff --git a/src/test/org/dom4j/ValidationTest.java b/src/test/java/org/dom4j/ValidationTest.java similarity index 100% rename from src/test/org/dom4j/ValidationTest.java rename to src/test/java/org/dom4j/ValidationTest.java diff --git a/src/test/org/dom4j/XMLResultTest.java b/src/test/java/org/dom4j/XMLResultTest.java similarity index 100% rename from src/test/org/dom4j/XMLResultTest.java rename to src/test/java/org/dom4j/XMLResultTest.java diff --git a/src/test/org/dom4j/XMLSpaceAttributeTest.java b/src/test/java/org/dom4j/XMLSpaceAttributeTest.java similarity index 100% rename from src/test/org/dom4j/XMLSpaceAttributeTest.java rename to src/test/java/org/dom4j/XMLSpaceAttributeTest.java diff --git a/src/test/org/dom4j/XMLWriterTest.java b/src/test/java/org/dom4j/XMLWriterTest.java similarity index 100% rename from src/test/org/dom4j/XMLWriterTest.java rename to src/test/java/org/dom4j/XMLWriterTest.java diff --git a/src/test/org/dom4j/XPathBugTest.java b/src/test/java/org/dom4j/XPathBugTest.java similarity index 100% rename from src/test/org/dom4j/XPathBugTest.java rename to src/test/java/org/dom4j/XPathBugTest.java diff --git a/src/test/org/dom4j/XPathExamplesTest.java b/src/test/java/org/dom4j/XPathExamplesTest.java similarity index 100% rename from src/test/org/dom4j/XPathExamplesTest.java rename to src/test/java/org/dom4j/XPathExamplesTest.java diff --git a/src/test/org/dom4j/XPathTest.java b/src/test/java/org/dom4j/XPathTest.java similarity index 100% rename from src/test/org/dom4j/XPathTest.java rename to src/test/java/org/dom4j/XPathTest.java diff --git a/src/test/org/dom4j/XSLTTest.java b/src/test/java/org/dom4j/XSLTTest.java similarity index 100% rename from src/test/org/dom4j/XSLTTest.java rename to src/test/java/org/dom4j/XSLTTest.java diff --git a/src/test/org/dom4j/bean/BeansTest.java b/src/test/java/org/dom4j/bean/BeansTest.java similarity index 100% rename from src/test/org/dom4j/bean/BeansTest.java rename to src/test/java/org/dom4j/bean/BeansTest.java diff --git a/src/test/org/dom4j/datatype/AbstractDataTypeTestCase.java b/src/test/java/org/dom4j/datatype/AbstractDataTypeTestCase.java similarity index 100% rename from src/test/org/dom4j/datatype/AbstractDataTypeTestCase.java rename to src/test/java/org/dom4j/datatype/AbstractDataTypeTestCase.java diff --git a/src/test/org/dom4j/datatype/AutoSchemaTest.java b/src/test/java/org/dom4j/datatype/AutoSchemaTest.java similarity index 100% rename from src/test/org/dom4j/datatype/AutoSchemaTest.java rename to src/test/java/org/dom4j/datatype/AutoSchemaTest.java diff --git a/src/test/org/dom4j/datatype/DataTypesTest.java b/src/test/java/org/dom4j/datatype/DataTypesTest.java similarity index 100% rename from src/test/org/dom4j/datatype/DataTypesTest.java rename to src/test/java/org/dom4j/datatype/DataTypesTest.java diff --git a/src/test/org/dom4j/datatype/Datatype2Test.java b/src/test/java/org/dom4j/datatype/Datatype2Test.java similarity index 100% rename from src/test/org/dom4j/datatype/Datatype2Test.java rename to src/test/java/org/dom4j/datatype/Datatype2Test.java diff --git a/src/test/org/dom4j/datatype/ManualSchemaPrefixTest.java b/src/test/java/org/dom4j/datatype/ManualSchemaPrefixTest.java similarity index 100% rename from src/test/org/dom4j/datatype/ManualSchemaPrefixTest.java rename to src/test/java/org/dom4j/datatype/ManualSchemaPrefixTest.java diff --git a/src/test/org/dom4j/datatype/ManualSchemaTest.java b/src/test/java/org/dom4j/datatype/ManualSchemaTest.java similarity index 100% rename from src/test/org/dom4j/datatype/ManualSchemaTest.java rename to src/test/java/org/dom4j/datatype/ManualSchemaTest.java diff --git a/src/test/org/dom4j/datatype/SchemaParseTest.java b/src/test/java/org/dom4j/datatype/SchemaParseTest.java similarity index 100% rename from src/test/org/dom4j/datatype/SchemaParseTest.java rename to src/test/java/org/dom4j/datatype/SchemaParseTest.java diff --git a/src/test/org/dom4j/datatype/SetDataTest.java b/src/test/java/org/dom4j/datatype/SetDataTest.java similarity index 100% rename from src/test/org/dom4j/datatype/SetDataTest.java rename to src/test/java/org/dom4j/datatype/SetDataTest.java diff --git a/src/test/org/dom4j/dom/DOMTest.java b/src/test/java/org/dom4j/dom/DOMTest.java similarity index 100% rename from src/test/org/dom4j/dom/DOMTest.java rename to src/test/java/org/dom4j/dom/DOMTest.java diff --git a/src/test/org/dom4j/dtd/AttributeDeclTest.java b/src/test/java/org/dom4j/dtd/AttributeDeclTest.java similarity index 100% rename from src/test/org/dom4j/dtd/AttributeDeclTest.java rename to src/test/java/org/dom4j/dtd/AttributeDeclTest.java diff --git a/src/test/org/dom4j/dtd/ElementDeclTest.java b/src/test/java/org/dom4j/dtd/ElementDeclTest.java similarity index 100% rename from src/test/org/dom4j/dtd/ElementDeclTest.java rename to src/test/java/org/dom4j/dtd/ElementDeclTest.java diff --git a/src/test/org/dom4j/dtd/ExternalEntityDeclTest.java b/src/test/java/org/dom4j/dtd/ExternalEntityDeclTest.java similarity index 100% rename from src/test/org/dom4j/dtd/ExternalEntityDeclTest.java rename to src/test/java/org/dom4j/dtd/ExternalEntityDeclTest.java diff --git a/src/test/org/dom4j/dtd/InternalEntityDeclTest.java b/src/test/java/org/dom4j/dtd/InternalEntityDeclTest.java similarity index 100% rename from src/test/org/dom4j/dtd/InternalEntityDeclTest.java rename to src/test/java/org/dom4j/dtd/InternalEntityDeclTest.java diff --git a/src/test/org/dom4j/io/DOMReaderTest.java b/src/test/java/org/dom4j/io/DOMReaderTest.java similarity index 100% rename from src/test/org/dom4j/io/DOMReaderTest.java rename to src/test/java/org/dom4j/io/DOMReaderTest.java diff --git a/src/test/org/dom4j/io/DOMWriterTest.java b/src/test/java/org/dom4j/io/DOMWriterTest.java similarity index 100% rename from src/test/org/dom4j/io/DOMWriterTest.java rename to src/test/java/org/dom4j/io/DOMWriterTest.java diff --git a/src/test/org/dom4j/io/DTDTest.java b/src/test/java/org/dom4j/io/DTDTest.java similarity index 100% rename from src/test/org/dom4j/io/DTDTest.java rename to src/test/java/org/dom4j/io/DTDTest.java diff --git a/src/test/org/dom4j/io/DispatchHandlerTest.java b/src/test/java/org/dom4j/io/DispatchHandlerTest.java similarity index 100% rename from src/test/org/dom4j/io/DispatchHandlerTest.java rename to src/test/java/org/dom4j/io/DispatchHandlerTest.java diff --git a/src/test/org/dom4j/io/DocumentSourceTest.java b/src/test/java/org/dom4j/io/DocumentSourceTest.java similarity index 100% rename from src/test/org/dom4j/io/DocumentSourceTest.java rename to src/test/java/org/dom4j/io/DocumentSourceTest.java diff --git a/src/test/org/dom4j/io/SAXReaderTest.java b/src/test/java/org/dom4j/io/SAXReaderTest.java similarity index 100% rename from src/test/org/dom4j/io/SAXReaderTest.java rename to src/test/java/org/dom4j/io/SAXReaderTest.java diff --git a/src/test/org/dom4j/io/StaxTest.java b/src/test/java/org/dom4j/io/StaxTest.java similarity index 100% rename from src/test/org/dom4j/io/StaxTest.java rename to src/test/java/org/dom4j/io/StaxTest.java diff --git a/src/test/org/dom4j/io/WriteUnmergedTextTest.java b/src/test/java/org/dom4j/io/WriteUnmergedTextTest.java similarity index 100% rename from src/test/org/dom4j/io/WriteUnmergedTextTest.java rename to src/test/java/org/dom4j/io/WriteUnmergedTextTest.java diff --git a/src/test/org/dom4j/io/XPP3ReaderTest.java b/src/test/java/org/dom4j/io/XPP3ReaderTest.java similarity index 100% rename from src/test/org/dom4j/io/XPP3ReaderTest.java rename to src/test/java/org/dom4j/io/XPP3ReaderTest.java diff --git a/src/test/org/dom4j/rule/PriorityTest.java b/src/test/java/org/dom4j/rule/PriorityTest.java similarity index 100% rename from src/test/org/dom4j/rule/PriorityTest.java rename to src/test/java/org/dom4j/rule/PriorityTest.java diff --git a/src/test/org/dom4j/rule/RuleTest.java b/src/test/java/org/dom4j/rule/RuleTest.java similarity index 100% rename from src/test/org/dom4j/rule/RuleTest.java rename to src/test/java/org/dom4j/rule/RuleTest.java diff --git a/src/test/org/dom4j/rule/StylesheetTest.java b/src/test/java/org/dom4j/rule/StylesheetTest.java similarity index 100% rename from src/test/org/dom4j/rule/StylesheetTest.java rename to src/test/java/org/dom4j/rule/StylesheetTest.java diff --git a/src/test/org/dom4j/swing/TableModelTest.java b/src/test/java/org/dom4j/swing/TableModelTest.java similarity index 100% rename from src/test/org/dom4j/swing/TableModelTest.java rename to src/test/java/org/dom4j/swing/TableModelTest.java diff --git a/src/test/org/dom4j/tree/CDataTest.java b/src/test/java/org/dom4j/tree/CDataTest.java similarity index 100% rename from src/test/org/dom4j/tree/CDataTest.java rename to src/test/java/org/dom4j/tree/CDataTest.java diff --git a/src/test/org/dom4j/tree/DefaultDocumentTest.java b/src/test/java/org/dom4j/tree/DefaultDocumentTest.java similarity index 100% rename from src/test/org/dom4j/tree/DefaultDocumentTest.java rename to src/test/java/org/dom4j/tree/DefaultDocumentTest.java diff --git a/src/test/org/dom4j/tree/DefaultElementTest.java b/src/test/java/org/dom4j/tree/DefaultElementTest.java similarity index 100% rename from src/test/org/dom4j/tree/DefaultElementTest.java rename to src/test/java/org/dom4j/tree/DefaultElementTest.java diff --git a/src/test/org/dom4j/tree/NamespaceCacheTest.java b/src/test/java/org/dom4j/tree/NamespaceCacheTest.java similarity index 100% rename from src/test/org/dom4j/tree/NamespaceCacheTest.java rename to src/test/java/org/dom4j/tree/NamespaceCacheTest.java diff --git a/src/test/org/dom4j/util/PerThreadSingletonTest.java b/src/test/java/org/dom4j/util/PerThreadSingletonTest.java similarity index 99% rename from src/test/org/dom4j/util/PerThreadSingletonTest.java rename to src/test/java/org/dom4j/util/PerThreadSingletonTest.java index 9dd8233d..00e70f13 100644 --- a/src/test/org/dom4j/util/PerThreadSingletonTest.java +++ b/src/test/java/org/dom4j/util/PerThreadSingletonTest.java @@ -7,17 +7,17 @@ package org.dom4j.util; +import com.clarkware.junitperf.LoadTest; +import com.clarkware.junitperf.TimedTest; +import junit.extensions.RepeatedTest; import junit.framework.Test; -import junit.framework.TestSuite; import junit.framework.TestCase; -import junit.extensions.RepeatedTest; +import junit.framework.TestSuite; +import org.junit.Ignore; import java.util.HashMap; import java.util.Map; -import com.clarkware.junitperf.LoadTest; -import com.clarkware.junitperf.TimedTest; - /** * PerThreadSingleton Tester. * @@ -30,6 +30,7 @@ * * @version 1.0 */ +@Ignore public class PerThreadSingletonTest extends TestCase { public PerThreadSingletonTest(String name) { super(name); diff --git a/src/test/org/dom4j/util/SimpleSingletonTest.java b/src/test/java/org/dom4j/util/SimpleSingletonTest.java similarity index 100% rename from src/test/org/dom4j/util/SimpleSingletonTest.java rename to src/test/java/org/dom4j/util/SimpleSingletonTest.java diff --git a/src/test/org/dom4j/xpath/AttributeTest.java b/src/test/java/org/dom4j/xpath/AttributeTest.java similarity index 100% rename from src/test/org/dom4j/xpath/AttributeTest.java rename to src/test/java/org/dom4j/xpath/AttributeTest.java diff --git a/src/test/org/dom4j/xpath/BadPathTest.java b/src/test/java/org/dom4j/xpath/BadPathTest.java similarity index 100% rename from src/test/org/dom4j/xpath/BadPathTest.java rename to src/test/java/org/dom4j/xpath/BadPathTest.java diff --git a/src/test/org/dom4j/xpath/BooleanTest.java b/src/test/java/org/dom4j/xpath/BooleanTest.java similarity index 100% rename from src/test/org/dom4j/xpath/BooleanTest.java rename to src/test/java/org/dom4j/xpath/BooleanTest.java diff --git a/src/test/org/dom4j/xpath/FilterTest.java b/src/test/java/org/dom4j/xpath/FilterTest.java similarity index 100% rename from src/test/org/dom4j/xpath/FilterTest.java rename to src/test/java/org/dom4j/xpath/FilterTest.java diff --git a/src/test/org/dom4j/xpath/GetPathTest.java b/src/test/java/org/dom4j/xpath/GetPathTest.java similarity index 100% rename from src/test/org/dom4j/xpath/GetPathTest.java rename to src/test/java/org/dom4j/xpath/GetPathTest.java diff --git a/src/test/org/dom4j/xpath/MatrixConcatTest.java b/src/test/java/org/dom4j/xpath/MatrixConcatTest.java similarity index 100% rename from src/test/org/dom4j/xpath/MatrixConcatTest.java rename to src/test/java/org/dom4j/xpath/MatrixConcatTest.java diff --git a/src/test/org/dom4j/xpath/NamespaceTest.java b/src/test/java/org/dom4j/xpath/NamespaceTest.java similarity index 100% rename from src/test/org/dom4j/xpath/NamespaceTest.java rename to src/test/java/org/dom4j/xpath/NamespaceTest.java diff --git a/src/test/org/dom4j/xpath/NumberTest.java b/src/test/java/org/dom4j/xpath/NumberTest.java similarity index 100% rename from src/test/org/dom4j/xpath/NumberTest.java rename to src/test/java/org/dom4j/xpath/NumberTest.java diff --git a/src/test/org/dom4j/xpath/ObjectTest.java b/src/test/java/org/dom4j/xpath/ObjectTest.java similarity index 100% rename from src/test/org/dom4j/xpath/ObjectTest.java rename to src/test/java/org/dom4j/xpath/ObjectTest.java diff --git a/src/test/org/dom4j/xpath/PrefixTest.java b/src/test/java/org/dom4j/xpath/PrefixTest.java similarity index 100% rename from src/test/org/dom4j/xpath/PrefixTest.java rename to src/test/java/org/dom4j/xpath/PrefixTest.java diff --git a/src/test/org/dom4j/xpath/SelectSingleNodeTest.java b/src/test/java/org/dom4j/xpath/SelectSingleNodeTest.java similarity index 100% rename from src/test/org/dom4j/xpath/SelectSingleNodeTest.java rename to src/test/java/org/dom4j/xpath/SelectSingleNodeTest.java diff --git a/src/test/org/dom4j/xpath/SortByTest.java b/src/test/java/org/dom4j/xpath/SortByTest.java similarity index 100% rename from src/test/org/dom4j/xpath/SortByTest.java rename to src/test/java/org/dom4j/xpath/SortByTest.java diff --git a/src/test/org/dom4j/xpath/SubstringTest.java b/src/test/java/org/dom4j/xpath/SubstringTest.java similarity index 100% rename from src/test/org/dom4j/xpath/SubstringTest.java rename to src/test/java/org/dom4j/xpath/SubstringTest.java diff --git a/src/test/org/dom4j/xpath/TextTest.java b/src/test/java/org/dom4j/xpath/TextTest.java similarity index 100% rename from src/test/org/dom4j/xpath/TextTest.java rename to src/test/java/org/dom4j/xpath/TextTest.java diff --git a/src/test/org/dom4j/xpath/UriMapTest.java b/src/test/java/org/dom4j/xpath/UriMapTest.java similarity index 100% rename from src/test/org/dom4j/xpath/UriMapTest.java rename to src/test/java/org/dom4j/xpath/UriMapTest.java diff --git a/src/test/org/dom4j/xpath/ValueOfTest.java b/src/test/java/org/dom4j/xpath/ValueOfTest.java similarity index 100% rename from src/test/org/dom4j/xpath/ValueOfTest.java rename to src/test/java/org/dom4j/xpath/ValueOfTest.java diff --git a/src/test/org/dom4j/xpath/VariableTest.java b/src/test/java/org/dom4j/xpath/VariableTest.java similarity index 100% rename from src/test/org/dom4j/xpath/VariableTest.java rename to src/test/java/org/dom4j/xpath/VariableTest.java diff --git a/src/test/org/CVS/Entries b/src/test/org/CVS/Entries deleted file mode 100644 index 17848105..00000000 --- a/src/test/org/CVS/Entries +++ /dev/null @@ -1 +0,0 @@ -D diff --git a/src/test/org/CVS/Entries.Log b/src/test/org/CVS/Entries.Log deleted file mode 100644 index 9e3b1820..00000000 --- a/src/test/org/CVS/Entries.Log +++ /dev/null @@ -1 +0,0 @@ -A D/dom4j//// diff --git a/src/test/org/CVS/Repository b/src/test/org/CVS/Repository deleted file mode 100644 index 44dc2b21..00000000 --- a/src/test/org/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/test/org diff --git a/src/test/org/CVS/Root b/src/test/org/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/test/org/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/test/org/dom4j/CVS/Entries b/src/test/org/dom4j/CVS/Entries deleted file mode 100644 index 8368f5b4..00000000 --- a/src/test/org/dom4j/CVS/Entries +++ /dev/null @@ -1,45 +0,0 @@ -/AbstractTestCase.java/1.24/Sat Jan 29 14:53:14 2005// -/AddAttributeTest.java/1.3/Sat Jan 29 14:53:15 2005// -/AddNodeTest.java/1.3/Sat Jan 29 14:53:15 2005// -/AttributeDetachTest.java/1.3/Sat Jan 29 14:53:15 2005// -/BackedListTest.java/1.3/Sat Jan 29 14:53:15 2005// -/CloneTest.java/1.6/Thu Feb 24 21:07:14 2005// -/ContentTest.java/1.3/Sat Jan 29 14:53:15 2005// -/CopyTest.java/1.3/Sat Jan 29 14:53:15 2005// -/DetachTest.java/1.3/Sat Jan 29 14:53:15 2005// -/DocTypeTest.java/1.4/Sat Jan 29 14:53:15 2005// -/ElementByIDTest.java/1.4/Sat Jan 29 14:53:15 2005// -/EmbeddedHandlerTest.java/1.4/Sat Jan 29 14:53:15 2005// -/GetQNamesTest.java/1.4/Sat Jan 29 14:53:15 2005// -/GetXMLEncodingTest.java/1.4/Sat Jan 29 14:53:15 2005// -/HTMLWriterTest.java/1.4/Sat Jan 29 14:53:15 2005// -/IndexedElementTest.java/1.3/Sat Jan 29 14:53:15 2005// -/IsTextOnlyTest.java/1.3/Sat Jan 29 14:53:15 2005// -/IteratorTest.java/1.4/Sat Jan 29 14:53:15 2005// -/LineFeedTest.java/1.3/Sat Jan 29 14:53:15 2005// -/MakeElementTest.java/1.3/Sat Jan 29 14:53:15 2005// -/MergeTextTest.java/1.4/Sat Jan 29 14:53:15 2005// -/NamespaceTest.java/1.4/Sat Jan 29 14:53:15 2005// -/NamespacesTest.java/1.4/Sat Jan 29 14:53:15 2005// -/NodeTypeNameTest.java/1.4/Sat Jan 29 14:53:15 2005// -/NormalizeTest.java/1.3/Sat Jan 29 14:53:15 2005// -/NullAttributesTest.java/1.3/Sat Jan 29 14:53:15 2005// -/ParentTest.java/1.3/Sat Jan 29 14:53:15 2005// -/ParseTextTest.java/1.3/Sat Jan 29 14:53:15 2005// -/ProcessingInstructionTest.java/1.3/Sat Jan 29 14:53:15 2005// -/RoundTripTest.java/1.4/Sat Jan 29 14:53:15 2005// -/SAXContentHandlerTest.java/1.4/Sat Jan 29 14:53:15 2005// -/SerializeTest.java/1.4/Sat Jan 29 14:53:15 2005// -/SetContentTest.java/1.3/Sat Jan 29 14:53:15 2005// -/SetTextTest.java/1.3/Sat Jan 29 14:53:15 2005// -/ThreadingTest.java/1.3/Sat Jan 29 14:53:15 2005// -/UserDataTest.java/1.4/Sat Jan 29 14:53:15 2005// -/ValidationTest.java/1.3/Sat Jan 29 14:53:15 2005// -/XMLResultTest.java/1.3/Sat Jan 29 14:53:15 2005// -/XMLSpaceAttributeTest.java/1.4/Sat Jan 29 14:53:15 2005// -/XMLWriterTest.java/1.7/Sat Mar 19 13:12:32 2005// -/XPathBugTest.java/1.4/Sat Jan 29 14:53:15 2005// -/XPathExamplesTest.java/1.5/Tue Apr 19 19:52:56 2005// -/XPathTest.java/1.4/Sat Feb 12 14:58:09 2005// -/XSLTTest.java/1.4/Sat Jan 29 14:53:15 2005// -D diff --git a/src/test/org/dom4j/CVS/Entries.Log b/src/test/org/dom4j/CVS/Entries.Log deleted file mode 100644 index a1da85d2..00000000 --- a/src/test/org/dom4j/CVS/Entries.Log +++ /dev/null @@ -1,12 +0,0 @@ -A D/bean//// -A D/datatype//// -A D/dom//// -A D/dtd//// -A D/io//// -A D/rule//// -A D/schema//// -A D/swing//// -A D/tree//// -A D/util//// -A D/xpath//// -R D/schema//// diff --git a/src/test/org/dom4j/CVS/Repository b/src/test/org/dom4j/CVS/Repository deleted file mode 100644 index 1dd6896f..00000000 --- a/src/test/org/dom4j/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/test/org/dom4j diff --git a/src/test/org/dom4j/CVS/Root b/src/test/org/dom4j/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/test/org/dom4j/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/test/org/dom4j/bean/CVS/Entries b/src/test/org/dom4j/bean/CVS/Entries deleted file mode 100644 index 34944c74..00000000 --- a/src/test/org/dom4j/bean/CVS/Entries +++ /dev/null @@ -1,2 +0,0 @@ -/BeansTest.java/1.4/Sat Jan 29 14:53:15 2005// -D diff --git a/src/test/org/dom4j/bean/CVS/Repository b/src/test/org/dom4j/bean/CVS/Repository deleted file mode 100644 index 019368f2..00000000 --- a/src/test/org/dom4j/bean/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/test/org/dom4j/bean diff --git a/src/test/org/dom4j/bean/CVS/Root b/src/test/org/dom4j/bean/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/test/org/dom4j/bean/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/test/org/dom4j/datatype/CVS/Entries b/src/test/org/dom4j/datatype/CVS/Entries deleted file mode 100644 index cad60ad6..00000000 --- a/src/test/org/dom4j/datatype/CVS/Entries +++ /dev/null @@ -1,9 +0,0 @@ -/AbstractDataTypeTestCase.java/1.3/Sat Jan 29 14:53:15 2005// -/AutoSchemaTest.java/1.4/Sat Jan 29 14:53:15 2005// -/DataTypesTest.java/1.4/Sat Jan 29 14:53:15 2005// -/Datatype2Test.java/1.3/Sat Jan 29 14:53:15 2005// -/ManualSchemaPrefixTest.java/1.4/Sat Jan 29 14:53:15 2005// -/ManualSchemaTest.java/1.4/Sat Jan 29 14:53:15 2005// -/SchemaParseTest.java/1.4/Sat Jan 29 14:53:15 2005// -/SetDataTest.java/1.4/Sat Jan 29 14:53:15 2005// -D diff --git a/src/test/org/dom4j/datatype/CVS/Repository b/src/test/org/dom4j/datatype/CVS/Repository deleted file mode 100644 index 6a86c08c..00000000 --- a/src/test/org/dom4j/datatype/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/test/org/dom4j/datatype diff --git a/src/test/org/dom4j/datatype/CVS/Root b/src/test/org/dom4j/datatype/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/test/org/dom4j/datatype/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/test/org/dom4j/dom/CVS/Entries b/src/test/org/dom4j/dom/CVS/Entries deleted file mode 100644 index bb121b37..00000000 --- a/src/test/org/dom4j/dom/CVS/Entries +++ /dev/null @@ -1,2 +0,0 @@ -/DOMTest.java/1.4/Sat Jan 29 14:53:16 2005// -D diff --git a/src/test/org/dom4j/dom/CVS/Repository b/src/test/org/dom4j/dom/CVS/Repository deleted file mode 100644 index ac230d47..00000000 --- a/src/test/org/dom4j/dom/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/test/org/dom4j/dom diff --git a/src/test/org/dom4j/dom/CVS/Root b/src/test/org/dom4j/dom/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/test/org/dom4j/dom/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/test/org/dom4j/dtd/CVS/Entries b/src/test/org/dom4j/dtd/CVS/Entries deleted file mode 100644 index 8ce2646c..00000000 --- a/src/test/org/dom4j/dtd/CVS/Entries +++ /dev/null @@ -1,5 +0,0 @@ -/AttributeDeclTest.java/1.3/Sat Jan 29 14:53:16 2005// -/ElementDeclTest.java/1.3/Sat Jan 29 14:53:16 2005// -/ExternalEntityDeclTest.java/1.3/Sat Jan 29 14:53:16 2005// -/InternalEntityDeclTest.java/1.3/Sat Jan 29 14:53:16 2005// -D diff --git a/src/test/org/dom4j/dtd/CVS/Repository b/src/test/org/dom4j/dtd/CVS/Repository deleted file mode 100644 index f225627a..00000000 --- a/src/test/org/dom4j/dtd/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/test/org/dom4j/dtd diff --git a/src/test/org/dom4j/dtd/CVS/Root b/src/test/org/dom4j/dtd/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/test/org/dom4j/dtd/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/test/org/dom4j/io/CVS/Entries b/src/test/org/dom4j/io/CVS/Entries deleted file mode 100644 index c66f2cae..00000000 --- a/src/test/org/dom4j/io/CVS/Entries +++ /dev/null @@ -1,10 +0,0 @@ -/DOMReaderTest.java/1.3/Sat Jan 29 14:53:16 2005// -/DOMWriterTest.java/1.4/Sat Jan 29 14:53:16 2005// -/DTDTest.java/1.4/Sat Jan 29 14:53:16 2005// -/DispatchHandlerTest.java/1.4/Sat Jan 29 14:53:16 2005// -/DocumentSourceTest.java/1.3/Sat Jan 29 14:53:16 2005// -/SAXReaderTest.java/1.5/Sat Apr 2 21:43:26 2005// -/StaxTest.java/1.4/Sat Jan 29 14:53:16 2005// -/WriteUnmergedTextTest.java/1.3/Sat Jan 29 14:53:16 2005// -/XPP3ReaderTest.java/1.4/Sat Jan 29 14:53:16 2005// -D diff --git a/src/test/org/dom4j/io/CVS/Repository b/src/test/org/dom4j/io/CVS/Repository deleted file mode 100644 index 865ed1f3..00000000 --- a/src/test/org/dom4j/io/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/test/org/dom4j/io diff --git a/src/test/org/dom4j/io/CVS/Root b/src/test/org/dom4j/io/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/test/org/dom4j/io/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/test/org/dom4j/rule/CVS/Entries b/src/test/org/dom4j/rule/CVS/Entries deleted file mode 100644 index 7f0b8526..00000000 --- a/src/test/org/dom4j/rule/CVS/Entries +++ /dev/null @@ -1,4 +0,0 @@ -/PriorityTest.java/1.3/Sat Jan 29 14:53:17 2005// -/RuleTest.java/1.3/Sat Jan 29 14:53:17 2005// -/StylesheetTest.java/1.4/Sun Jan 30 08:50:26 2005// -D diff --git a/src/test/org/dom4j/rule/CVS/Repository b/src/test/org/dom4j/rule/CVS/Repository deleted file mode 100644 index a0772920..00000000 --- a/src/test/org/dom4j/rule/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/test/org/dom4j/rule diff --git a/src/test/org/dom4j/rule/CVS/Root b/src/test/org/dom4j/rule/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/test/org/dom4j/rule/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/test/org/dom4j/swing/CVS/Entries b/src/test/org/dom4j/swing/CVS/Entries deleted file mode 100644 index 663788d6..00000000 --- a/src/test/org/dom4j/swing/CVS/Entries +++ /dev/null @@ -1,2 +0,0 @@ -/TableModelTest.java/1.4/Sat Jan 29 14:53:17 2005// -D diff --git a/src/test/org/dom4j/swing/CVS/Repository b/src/test/org/dom4j/swing/CVS/Repository deleted file mode 100644 index 27fcd68a..00000000 --- a/src/test/org/dom4j/swing/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/test/org/dom4j/swing diff --git a/src/test/org/dom4j/swing/CVS/Root b/src/test/org/dom4j/swing/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/test/org/dom4j/swing/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/test/org/dom4j/tree/CVS/Entries b/src/test/org/dom4j/tree/CVS/Entries deleted file mode 100644 index ff90dd2d..00000000 --- a/src/test/org/dom4j/tree/CVS/Entries +++ /dev/null @@ -1,5 +0,0 @@ -/CDataTest.java/1.4/Sat Mar 5 17:22:56 2005// -/DefaultDocumentTest.java/1.4/Sun Mar 6 11:52:44 2005// -/DefaultElementTest.java/1.7/Wed Mar 16 21:22:52 2005// -/NamespaceCacheTest.java/1.3/Sat Jan 29 14:53:17 2005// -D diff --git a/src/test/org/dom4j/tree/CVS/Repository b/src/test/org/dom4j/tree/CVS/Repository deleted file mode 100644 index 7950df0a..00000000 --- a/src/test/org/dom4j/tree/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/test/org/dom4j/tree diff --git a/src/test/org/dom4j/tree/CVS/Root b/src/test/org/dom4j/tree/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/test/org/dom4j/tree/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/test/org/dom4j/util/CVS/Entries b/src/test/org/dom4j/util/CVS/Entries deleted file mode 100644 index 3ade2598..00000000 --- a/src/test/org/dom4j/util/CVS/Entries +++ /dev/null @@ -1,3 +0,0 @@ -/PerThreadSingletonTest.java/1.2/Sat Jan 29 14:53:18 2005// -/SimpleSingletonTest.java/1.2/Sat Jan 29 14:53:18 2005// -D diff --git a/src/test/org/dom4j/util/CVS/Repository b/src/test/org/dom4j/util/CVS/Repository deleted file mode 100644 index 87becf2d..00000000 --- a/src/test/org/dom4j/util/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/test/org/dom4j/util diff --git a/src/test/org/dom4j/util/CVS/Root b/src/test/org/dom4j/util/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/test/org/dom4j/util/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j diff --git a/src/test/org/dom4j/xpath/CVS/Entries b/src/test/org/dom4j/xpath/CVS/Entries deleted file mode 100644 index 09c90e4a..00000000 --- a/src/test/org/dom4j/xpath/CVS/Entries +++ /dev/null @@ -1,18 +0,0 @@ -/AttributeTest.java/1.3/Sat Jan 29 14:53:18 2005// -/BadPathTest.java/1.3/Sat Jan 29 14:53:18 2005// -/BooleanTest.java/1.3/Sat Jan 29 14:53:18 2005// -/FilterTest.java/1.3/Sat Jan 29 14:53:18 2005// -/GetPathTest.java/1.4/Sat Jan 29 14:53:18 2005// -/MatrixConcatTest.java/1.3/Sat Jan 29 14:53:18 2005// -/NamespaceTest.java/1.3/Sat Jan 29 14:53:18 2005// -/NumberTest.java/1.3/Sat Jan 29 14:53:18 2005// -/ObjectTest.java/1.3/Sat Jan 29 14:53:18 2005// -/PrefixTest.java/1.3/Sat Jan 29 14:53:18 2005// -/SelectSingleNodeTest.java/1.4/Sat Jan 29 14:53:18 2005// -/SortByTest.java/1.3/Sat Jan 29 14:53:18 2005// -/SubstringTest.java/1.3/Sat Jan 29 14:53:18 2005// -/TextTest.java/1.3/Sat Jan 29 14:53:18 2005// -/UriMapTest.java/1.3/Sat Jan 29 14:53:18 2005// -/ValueOfTest.java/1.3/Sat Jan 29 14:53:18 2005// -/VariableTest.java/1.4/Sat Feb 12 14:01:16 2005// -D diff --git a/src/test/org/dom4j/xpath/CVS/Repository b/src/test/org/dom4j/xpath/CVS/Repository deleted file mode 100644 index 419aede3..00000000 --- a/src/test/org/dom4j/xpath/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -dom4j/src/test/org/dom4j/xpath diff --git a/src/test/org/dom4j/xpath/CVS/Root b/src/test/org/dom4j/xpath/CVS/Root deleted file mode 100644 index 460144aa..00000000 --- a/src/test/org/dom4j/xpath/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -:pserver:anonymous@dom4j.cvs.sourceforge.net:/cvsroot/dom4j