Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Noting what's new for this release. Updating copyright headers.

-jh-
  • Loading branch information...
commit a652c0ea647add26cfd563fb7c9659fde9f7d829 1 parent 61ac184
jhunter authored
Showing with 379 additions and 245 deletions.
  1. +63 −1 core/CHANGES.txt
  2. +7 −0 core/README.txt
  3. +1 −1  core/TODO.txt
  4. +11 −3 core/build.xml
  5. +3 −2 core/package/META-INF/info.xml
  6. +4 −4 core/src/java/org/jdom/Attribute.java
  7. +4 −4 core/src/java/org/jdom/AttributeList.java
  8. +4 −4 core/src/java/org/jdom/CDATA.java
  9. +4 −4 core/src/java/org/jdom/Comment.java
  10. +3 −3 core/src/java/org/jdom/Content.java
  11. +4 −4 core/src/java/org/jdom/ContentList.java
  12. +4 −4 core/src/java/org/jdom/DataConversionException.java
  13. +4 −4 core/src/java/org/jdom/DefaultJDOMFactory.java
  14. +4 −4 core/src/java/org/jdom/DescendantIterator.java
  15. +4 −4 core/src/java/org/jdom/DocType.java
  16. +4 −4 core/src/java/org/jdom/Document.java
  17. +4 −4 core/src/java/org/jdom/Element.java
  18. +4 −4 core/src/java/org/jdom/EntityRef.java
  19. +4 −4 core/src/java/org/jdom/FilterIterator.java
  20. +4 −4 core/src/java/org/jdom/IllegalAddException.java
  21. +4 −4 core/src/java/org/jdom/IllegalDataException.java
  22. +4 −4 core/src/java/org/jdom/IllegalNameException.java
  23. +4 −4 core/src/java/org/jdom/IllegalTargetException.java
  24. +4 −4 core/src/java/org/jdom/JDOMException.java
  25. +3 −3 core/src/java/org/jdom/JDOMFactory.java
  26. +4 −4 core/src/java/org/jdom/Namespace.java
  27. +4 −4 core/src/java/org/jdom/NamespaceKey.java
  28. +3 −3 core/src/java/org/jdom/Parent.java
  29. +4 −4 core/src/java/org/jdom/ProcessingInstruction.java
  30. +4 −4 core/src/java/org/jdom/Text.java
  31. +56 −0 core/src/java/org/jdom/UncheckedJDOMFactory.java
  32. +4 −4 core/src/java/org/jdom/Verifier.java
  33. +4 −4 core/src/java/org/jdom/adapters/AbstractDOMAdapter.java
  34. +4 −4 core/src/java/org/jdom/adapters/CrimsonDOMAdapter.java
  35. +3 −3 core/src/java/org/jdom/adapters/DOMAdapter.java
  36. +4 −4 core/src/java/org/jdom/adapters/JAXPDOMAdapter.java
  37. +4 −4 core/src/java/org/jdom/adapters/OracleV1DOMAdapter.java
  38. +4 −4 core/src/java/org/jdom/adapters/OracleV2DOMAdapter.java
  39. +4 −4 core/src/java/org/jdom/adapters/XML4JDOMAdapter.java
  40. +4 −4 core/src/java/org/jdom/adapters/XercesDOMAdapter.java
  41. +4 −4 core/src/java/org/jdom/filter/AbstractFilter.java
  42. +4 −4 core/src/java/org/jdom/filter/AndFilter.java
  43. +4 −4 core/src/java/org/jdom/filter/ContentFilter.java
  44. +4 −4 core/src/java/org/jdom/filter/ElementFilter.java
  45. +3 −3 core/src/java/org/jdom/filter/Filter.java
  46. +4 −4 core/src/java/org/jdom/filter/NegateFilter.java
  47. +4 −4 core/src/java/org/jdom/filter/OrFilter.java
  48. +4 −4 core/src/java/org/jdom/input/BuilderErrorHandler.java
  49. +4 −4 core/src/java/org/jdom/input/DOMBuilder.java
  50. +4 −4 core/src/java/org/jdom/input/JAXPParserFactory.java
  51. +4 −4 core/src/java/org/jdom/input/JDOMParseException.java
  52. +4 −4 core/src/java/org/jdom/input/SAXBuilder.java
  53. +4 −4 core/src/java/org/jdom/input/SAXHandler.java
  54. +4 −4 core/src/java/org/jdom/input/TextBuffer.java
  55. +4 −4 core/src/java/org/jdom/output/DOMOutputter.java
  56. +3 −3 core/src/java/org/jdom/output/EscapeStrategy.java
  57. +4 −4 core/src/java/org/jdom/output/Format.java
  58. +4 −4 core/src/java/org/jdom/output/JDOMLocator.java
  59. +4 −4 core/src/java/org/jdom/output/NamespaceStack.java
  60. +4 −4 core/src/java/org/jdom/output/SAXOutputter.java
  61. +4 −4 core/src/java/org/jdom/output/XMLOutputter.java
  62. +4 −4 core/src/java/org/jdom/transform/JDOMResult.java
  63. +4 −4 core/src/java/org/jdom/transform/JDOMSource.java
  64. +4 −4 core/src/java/org/jdom/transform/XSLTransformException.java
  65. +4 −4 core/src/java/org/jdom/transform/XSLTransformer.java
  66. +4 −4 core/src/java/org/jdom/xpath/JaxenXPath.java
  67. +4 −4 core/src/java/org/jdom/xpath/XPath.java
View
64 core/CHANGES.txt
@@ -1,4 +1,66 @@
-* * * * * * 1.0 (future tag: jdom_1_0) from Beta10 * * * * * *
+* * * * * * JDOM 1.1 (tag: jdom_1_1) from JDOM 1.0 * * * * * *
+
+Added an additional constructor to JDOMSource with an EntityResolver which is
+passed to the internal DocumentReader allowing the SAXOutputter to properly
+resolve DTDs.
+
+Added a forceNamespaceAware property to DOMOutputter which specifies you want
+a DOM constructed with namespaces even if the source JDOM document has no
+namespaces.
+
+Added support for attribute "INF" and "-INF" values, to indicate positive and
+negative infinity, as XML Schema allows.
+
+Moved isXMLWhitespace() method from private in XMLOutputter to public in
+Verifier.
+
+Clarified XMLOutputter behavior with newlines and indents:
+ setIndent(" ") means newlines and " " indents
+ setIndent("") means newlines and "" indents
+ setIndent(null) means no newlines and no indents
+
+Added set/getIgnoringBoundaryWhitespace() methods and features to SAXBuilder
+and SAXHandler.
+
+Added a string constant for the JDOM_OBJECT_MODEL_URI used by JAXP 1.3. It
+deserves being part of the public API.
+
+Fixed bug in SAXOutputter where default namespaces would be declared as
+xmlns:="" with a spurious colon.
+
+Fixed bug when using attributes without a namespace and outputting to a
+JDOMResult.
+
+Removing check that a comment not start with a hyphen. A careful reading of
+production 15 in the XML 1.0 spec indicates leading hyphens are in fact
+allowed.
+
+Fixed bug where outputFragment() on SAXOutputter could cause a
+NullPointerException because the locator would be null during the call.
+
+Fixed bug where serializing ElementFilter causes a NullPointerException if the
+filter has no assigned namespace
+
+Fixed some subtle bad behaviors in listIterator.add() logic, using brand new
+iterator logic.
+
+Allowed a String to be passed to ContentList.add(int, Object).
+
+Simplified JDOMAbout and renamed info.xml to jdom-info.xml, so
+getResourceAsStream() won't suffer any name collision.
+
+Fixed tiny issue where CDATA could be set with illegal character content.
+
+Added logic to escape some special characters in namespace URIs.
+
+Fixed bug where the attribute type would change on a setAttribute() call.
+
+Improved performance on Namespace handling.
+
+Improved and clarified Javadocs.
+
+
+* * * * * * JDOM 1.0 (tag: jdom_1_0) from JDOM Beta10 * * * * * *
Added a new lib/jaxen-jdom.jar that solves some XPath ancestry problems
introduced by the Parent interface. See the new lib/jaxen.readme for
View
7 core/README.txt
@@ -100,3 +100,10 @@ be sure to include enough information to reproduce the bug and full exception
stack traces. You might also want to read the FAQ at http://jdom.org to find
out if your problem is not really a bug and just a common misunderstanding
about how XML or JDOM works.
+
+
+Searching for Information
+=========================
+
+The JDOM mailing lists are archived and easily searched at
+http://jdom.markmail.org.
View
2  core/TODO.txt
@@ -4,7 +4,7 @@ Items that need to be done:
None!
---- ITEMS TO CONSIDER FOR 1.1 ---
+--- ITEMS TO CONSIDER FOR 1.2 ---
* Output support for surrogate pairs.
View
14 core/build.xml
@@ -1,4 +1,4 @@
-<!-- $Id: build.xml,v 1.54 2006/12/29 03:31:43 jhunter Exp $ -->
+<!-- $Id: build.xml,v 1.55 2007/11/10 05:28:57 jhunter Exp $ -->
<!--
For instructions on how to build JDOM, please view the README.txt file.
@@ -30,15 +30,17 @@ For instructions on how to build JDOM, please view the README.txt file.
<property name="Name" value="JDOM"/>
<property name="name" value="jdom"/>
- <property name="version" value="1.0.1"/>
+ <property name="version" value="1.1"/>
<property name="version.impl" value="${version}"/>
<property name="version.spec" value="1.0"/>
- <property name="year" value="2004"/>
+ <property name="year" value="2007"/>
<echo message="----------- ${Name} ${version} ------------"/>
<property name="compile.debug" value="true" />
<property name="compile.optimize" value="true" />
+ <property name="compile.target" value="1.2" />
+ <property name="compile.source" value="1.2" />
<property name="compile.deprecation" value="true" />
<property name="src.dir" value="./src/java"/>
@@ -166,6 +168,8 @@ For instructions on how to build JDOM, please view the README.txt file.
destdir="${build.dest}"
debug="${compile.debug}"
optimize="${compile.optimize}"
+ target="${compile.target}"
+ source="${compile.source}"
deprecation="${compile.deprecation}">
<exclude name="**/Jaxen*" unless="jaxen.present"/>
@@ -183,6 +187,8 @@ For instructions on how to build JDOM, please view the README.txt file.
destdir="${build.dest}"
debug="${compile.debug}"
optimize="${compile.optimize}"
+ target="${compile.target}"
+ source="${compile.source}"
deprecation="${compile.deprecation}">
<classpath refid="compile.class.path"/>
</javac>
@@ -197,6 +203,8 @@ For instructions on how to build JDOM, please view the README.txt file.
destdir="${samples.dest}"
debug="${compile.debug}"
optimize="${compile.optimize}"
+ target="${compile.target}"
+ source="${compile.source}"
deprecation="${compile.deprecation}">
<classpath refid="run.class.path"/>
</javac>
View
5 core/package/META-INF/info.xml
@@ -13,9 +13,10 @@
complex and memory-consumptive options that current API
offerings provide.
</description>
- <copyright>2000-2004, Jason Hunter</copyright>
+ <copyright>2000-2007, Jason Hunter</copyright>
<license>BSD/Apache style, see LICENSE.txt</license>
- <support>See the jdom-interest mailing list at jdom.org</support>
+ <support>See the jdom-interest mailing list at jdom.org,
+ searchable at http://jdom.markmail.org</support>
<web-site>http://www.jdom.org/</web-site>
<!--
The following list of authors was initially extracted from @author
View
8 core/src/java/org/jdom/Attribute.java
@@ -1,8 +1,8 @@
/*--
- $Id: Attribute.java,v 1.55 2006/11/16 09:15:49 jhunter Exp $
+ $Id: Attribute.java,v 1.56 2007/11/10 05:28:58 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -62,7 +62,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* An XML attribute. Methods allow the user to obtain the value of the attribute
* as well as namespace and type information.
*
- * @version $Revision: 1.55 $, $Date: 2006/11/16 09:15:49 $
+ * @version $Revision: 1.56 $, $Date: 2007/11/10 05:28:58 $
* @author Brett McLaughlin
* @author Jason Hunter
* @author Elliotte Rusty Harold
@@ -72,7 +72,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
public class Attribute implements Serializable, Cloneable {
private static final String CVS_ID =
- "@(#) $RCSfile: Attribute.java,v $ $Revision: 1.55 $ $Date: 2006/11/16 09:15:49 $ $Name: $";
+ "@(#) $RCSfile: Attribute.java,v $ $Revision: 1.56 $ $Date: 2007/11/10 05:28:58 $ $Name: $";
/**
* Attribute type: the attribute has not been declared or type
View
8 core/src/java/org/jdom/AttributeList.java
@@ -1,8 +1,8 @@
/*--
- $Id: AttributeList.java,v 1.23 2004/02/28 03:30:27 jhunter Exp $
+ $Id: AttributeList.java,v 1.24 2007/11/10 05:28:58 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -66,7 +66,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* @author Alex Rosen
* @author Philippe Riand
* @author Bradley S. Huffman
- * @version $Revision: 1.23 $, $Date: 2004/02/28 03:30:27 $
+ * @version $Revision: 1.24 $, $Date: 2007/11/10 05:28:58 $
* @see CDATA
* @see Comment
* @see Element
@@ -78,7 +78,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
implements List, java.io.Serializable {
private static final String CVS_ID =
- "@(#) $RCSfile: AttributeList.java,v $ $Revision: 1.23 $ $Date: 2004/02/28 03:30:27 $ $Name: $";
+ "@(#) $RCSfile: AttributeList.java,v $ $Revision: 1.24 $ $Date: 2007/11/10 05:28:58 $ $Name: $";
private static final int INITIAL_ARRAY_SIZE = 5;
View
8 core/src/java/org/jdom/CDATA.java
@@ -1,8 +1,8 @@
/*--
- $Id: CDATA.java,v 1.31 2006/11/16 08:16:35 jhunter Exp $
+ $Id: CDATA.java,v 1.32 2007/11/10 05:28:58 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -63,7 +63,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* CDATA makes no guarantees about the underlying textual representation of
* character data, but does expose that data as a Java String.
*
- * @version $Revision: 1.31 $, $Date: 2006/11/16 08:16:35 $
+ * @version $Revision: 1.32 $, $Date: 2007/11/10 05:28:58 $
* @author Dan Schaffer
* @author Brett McLaughlin
* @author Jason Hunter
@@ -73,7 +73,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
public class CDATA extends Text {
private static final String CVS_ID =
- "@(#) $RCSfile: CDATA.java,v $ $Revision: 1.31 $ $Date: 2006/11/16 08:16:35 $ $Name: $";
+ "@(#) $RCSfile: CDATA.java,v $ $Revision: 1.32 $ $Date: 2007/11/10 05:28:58 $ $Name: $";
/**
* This is the protected, no-args constructor standard in all JDOM
View
8 core/src/java/org/jdom/Comment.java
@@ -1,8 +1,8 @@
/*--
- $Id: Comment.java,v 1.32 2004/02/11 21:12:43 jhunter Exp $
+ $Id: Comment.java,v 1.33 2007/11/10 05:28:58 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -60,14 +60,14 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* An XML comment. Methods allow the user to get and set the text of the
* comment.
*
- * @version $Revision: 1.32 $, $Date: 2004/02/11 21:12:43 $
+ * @version $Revision: 1.33 $, $Date: 2007/11/10 05:28:58 $
* @author Brett McLaughlin
* @author Jason Hunter
*/
public class Comment extends Content {
private static final String CVS_ID =
- "@(#) $RCSfile: Comment.java,v $ $Revision: 1.32 $ $Date: 2004/02/11 21:12:43 $ $Name: $";
+ "@(#) $RCSfile: Comment.java,v $ $Revision: 1.33 $ $Date: 2007/11/10 05:28:58 $ $Name: $";
/** Text of the <code>Comment</code> */
protected String text;
View
6 core/src/java/org/jdom/Content.java
@@ -1,8 +1,8 @@
/*--
- $Id: Content.java,v 1.5 2004/09/07 06:37:20 jhunter Exp $
+ $Id: Content.java,v 1.6 2007/11/10 05:28:58 jhunter Exp $
- Copyright (C) 2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -72,7 +72,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
*
* @author Bradley S. Huffman
* @author Jason Hunter
- * @version $Revision: 1.5 $, $Date: 2004/09/07 06:37:20 $
+ * @version $Revision: 1.6 $, $Date: 2007/11/10 05:28:58 $
*/
public abstract class Content implements Cloneable, Serializable {
View
8 core/src/java/org/jdom/ContentList.java
@@ -1,8 +1,8 @@
/*--
- $Id: ContentList.java,v 1.41 2007/11/09 08:53:03 jhunter Exp $
+ $Id: ContentList.java,v 1.42 2007/11/10 05:28:58 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -72,7 +72,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* @see ProcessingInstruction
* @see Text
*
- * @version $Revision: 1.41 $, $Date: 2007/11/09 08:53:03 $
+ * @version $Revision: 1.42 $, $Date: 2007/11/10 05:28:58 $
* @author Alex Rosen
* @author Philippe Riand
* @author Bradley S. Huffman
@@ -80,7 +80,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
final class ContentList extends AbstractList implements java.io.Serializable {
private static final String CVS_ID =
- "@(#) $RCSfile: ContentList.java,v $ $Revision: 1.41 $ $Date: 2007/11/09 08:53:03 $ $Name: $";
+ "@(#) $RCSfile: ContentList.java,v $ $Revision: 1.42 $ $Date: 2007/11/10 05:28:58 $ $Name: $";
private static final long serialVersionUID = 1L;
View
8 core/src/java/org/jdom/DataConversionException.java
@@ -1,8 +1,8 @@
/*--
- $Id: DataConversionException.java,v 1.13 2004/02/06 09:28:30 jhunter Exp $
+ $Id: DataConversionException.java,v 1.14 2007/11/10 05:28:58 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -60,14 +60,14 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* Thrown when a data conversion from a string to value type fails, such as
* can happen with the {@link Attribute} convenience getter functions.
*
- * @version $Revision: 1.13 $, $Date: 2004/02/06 09:28:30 $
+ * @version $Revision: 1.14 $, $Date: 2007/11/10 05:28:58 $
* @author Brett McLaughlin
* @author Jason Hunter
*/
public class DataConversionException extends JDOMException {
private static final String CVS_ID =
- "@(#) $RCSfile: DataConversionException.java,v $ $Revision: 1.13 $ $Date: 2004/02/06 09:28:30 $ $Name: $";
+ "@(#) $RCSfile: DataConversionException.java,v $ $Revision: 1.14 $ $Date: 2007/11/10 05:28:58 $ $Name: $";
/**
* Constructs an exception where the named construct couldn't be converted
View
8 core/src/java/org/jdom/DefaultJDOMFactory.java
@@ -1,8 +1,8 @@
/*--
- $Id: DefaultJDOMFactory.java,v 1.6 2004/09/01 05:25:38 jhunter Exp $
+ $Id: DefaultJDOMFactory.java,v 1.7 2007/11/10 05:28:58 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -62,7 +62,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* Creates the standard top-level JDOM classes (Element, Document, Comment,
* etc). A subclass of this factory might construct custom classes.
*
- * @version $Revision: 1.6 $, $Date: 2004/09/01 05:25:38 $
+ * @version $Revision: 1.7 $, $Date: 2007/11/10 05:28:58 $
* @author Ken Rune Holland
* @author Phil Nelson
* @author Bradley S. Huffman
@@ -70,7 +70,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
public class DefaultJDOMFactory implements JDOMFactory {
private static final String CVS_ID =
- "@(#) $RCSfile: DefaultJDOMFactory.java,v $ $Revision: 1.6 $ $Date: 2004/09/01 05:25:38 $ $Name: $";
+ "@(#) $RCSfile: DefaultJDOMFactory.java,v $ $Revision: 1.7 $ $Date: 2007/11/10 05:28:58 $ $Name: $";
public DefaultJDOMFactory() { }
View
8 core/src/java/org/jdom/DescendantIterator.java
@@ -1,8 +1,8 @@
/*--
- $Id: DescendantIterator.java,v 1.5 2004/02/27 11:32:57 jhunter Exp $
+ $Id: DescendantIterator.java,v 1.6 2007/11/10 05:28:58 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -67,7 +67,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
*
* @author Bradley S. Huffman
* @author Jason Hunter
- * @version $Revision: 1.5 $, $Date: 2004/02/27 11:32:57 $
+ * @version $Revision: 1.6 $, $Date: 2007/11/10 05:28:58 $
*/
class DescendantIterator implements Iterator {
@@ -76,7 +76,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
private List stack = new ArrayList();
private static final String CVS_ID =
- "@(#) $RCSfile: DescendantIterator.java,v $ $Revision: 1.5 $ $Date: 2004/02/27 11:32:57 $ $Name: $";
+ "@(#) $RCSfile: DescendantIterator.java,v $ $Revision: 1.6 $ $Date: 2007/11/10 05:28:58 $ $Name: $";
/**
* Iterator for the descendants of the supplied object.
View
8 core/src/java/org/jdom/DocType.java
@@ -1,8 +1,8 @@
/*--
- $Id: DocType.java,v 1.31 2004/02/27 11:32:57 jhunter Exp $
+ $Id: DocType.java,v 1.32 2007/11/10 05:28:58 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -62,12 +62,12 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
*
* @author Brett McLaughlin
* @author Jason Hunter
- * @version $Revision: 1.31 $, $Date: 2004/02/27 11:32:57 $
+ * @version $Revision: 1.32 $, $Date: 2007/11/10 05:28:58 $
*/
public class DocType extends Content {
private static final String CVS_ID =
- "@(#) $RCSfile: DocType.java,v $ $Revision: 1.31 $ $Date: 2004/02/27 11:32:57 $ $Name: $";
+ "@(#) $RCSfile: DocType.java,v $ $Revision: 1.32 $ $Date: 2007/11/10 05:28:58 $ $Name: $";
/** The element being constrained */
protected String elementName;
View
8 core/src/java/org/jdom/Document.java
@@ -1,8 +1,8 @@
/*--
- $Id: Document.java,v 1.84 2004/08/31 21:47:51 jhunter Exp $
+ $Id: Document.java,v 1.85 2007/11/10 05:28:58 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -63,7 +63,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* An XML document. Methods allow access to the root element as well as the
* {@link DocType} and other document-level information.
*
- * @version $Revision: 1.84 $, $Date: 2004/08/31 21:47:51 $
+ * @version $Revision: 1.85 $, $Date: 2007/11/10 05:28:58 $
* @author Brett McLaughlin
* @author Jason Hunter
* @author Jools Enticknap
@@ -72,7 +72,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
public class Document implements Parent {
private static final String CVS_ID =
- "@(#) $RCSfile: Document.java,v $ $Revision: 1.84 $ $Date: 2004/08/31 21:47:51 $ $Name: $";
+ "@(#) $RCSfile: Document.java,v $ $Revision: 1.85 $ $Date: 2007/11/10 05:28:58 $ $Name: $";
/**
* This document's content including comments, PIs, a possible
View
8 core/src/java/org/jdom/Element.java
@@ -1,8 +1,8 @@
/*--
- $Id: Element.java,v 1.157 2007/11/10 05:13:28 jhunter Exp $
+ $Id: Element.java,v 1.158 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -66,7 +66,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* elements and content, directly access the element's textual content,
* manipulate its attributes, and manage namespaces.
*
- * @version $Revision: 1.157 $, $Date: 2007/11/10 05:13:28 $
+ * @version $Revision: 1.158 $, $Date: 2007/11/10 05:28:59 $
* @author Brett McLaughlin
* @author Jason Hunter
* @author Lucas Gonze
@@ -82,7 +82,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
public class Element extends Content implements Parent {
private static final String CVS_ID =
- "@(#) $RCSfile: Element.java,v $ $Revision: 1.157 $ $Date: 2007/11/10 05:13:28 $ $Name: $";
+ "@(#) $RCSfile: Element.java,v $ $Revision: 1.158 $ $Date: 2007/11/10 05:28:59 $ $Name: $";
private static final int INITIAL_ARRAY_SIZE = 5;
View
8 core/src/java/org/jdom/EntityRef.java
@@ -1,8 +1,8 @@
/*--
- $Id: EntityRef.java,v 1.21 2004/02/27 11:32:57 jhunter Exp $
+ $Id: EntityRef.java,v 1.22 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -60,7 +60,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* An XML entity reference. Methods allow the user to manage its name, public
* id, and system id.
*
- * @version $Revision: 1.21 $, $Date: 2004/02/27 11:32:57 $
+ * @version $Revision: 1.22 $, $Date: 2007/11/10 05:28:59 $
* @author Brett McLaughlin
* @author Jason Hunter
* @author Philip Nelson
@@ -68,7 +68,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
public class EntityRef extends Content {
private static final String CVS_ID =
- "@(#) $RCSfile: EntityRef.java,v $ $Revision: 1.21 $ $Date: 2004/02/27 11:32:57 $ $Name: $";
+ "@(#) $RCSfile: EntityRef.java,v $ $Revision: 1.22 $ $Date: 2007/11/10 05:28:59 $ $Name: $";
/** The name of the <code>EntityRef</code> */
protected String name;
View
8 core/src/java/org/jdom/FilterIterator.java
@@ -1,8 +1,8 @@
/*--
- $Id: FilterIterator.java,v 1.5 2004/08/31 19:36:12 jhunter Exp $
+ $Id: FilterIterator.java,v 1.6 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -63,7 +63,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* Traverse a parent's children that match the supplied filter.
*
* @author Bradley S. Huffman
- * @version $Revision: 1.5 $, $Date: 2004/08/31 19:36:12 $
+ * @version $Revision: 1.6 $, $Date: 2007/11/10 05:28:59 $
*/
class FilterIterator implements Iterator {
@@ -72,7 +72,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
private Object nextObject;
private static final String CVS_ID =
- "@(#) $RCSfile: FilterIterator.java,v $ $Revision: 1.5 $ $Date: 2004/08/31 19:36:12 $ $Name: $";
+ "@(#) $RCSfile: FilterIterator.java,v $ $Revision: 1.6 $ $Date: 2007/11/10 05:28:59 $ $Name: $";
public FilterIterator(Iterator iterator, Filter filter) {
if ((iterator == null) || (filter == null)) {
View
8 core/src/java/org/jdom/IllegalAddException.java
@@ -1,8 +1,8 @@
/*--
- $Id: IllegalAddException.java,v 1.25 2004/02/06 09:28:30 jhunter Exp $
+ $Id: IllegalAddException.java,v 1.26 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -59,14 +59,14 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
/**
* Thrown when trying to add a illegal object to a JDOM construct.
*
- * @version $Revision: 1.25 $, $Date: 2004/02/06 09:28:30 $
+ * @version $Revision: 1.26 $, $Date: 2007/11/10 05:28:59 $
* @author Brett McLaughlin
* @author Jason Hunter
*/
public class IllegalAddException extends IllegalArgumentException {
private static final String CVS_ID =
- "@(#) $RCSfile: IllegalAddException.java,v $ $Revision: 1.25 $ $Date: 2004/02/06 09:28:30 $ $Name: $";
+ "@(#) $RCSfile: IllegalAddException.java,v $ $Revision: 1.26 $ $Date: 2007/11/10 05:28:59 $ $Name: $";
/**
* This will create an <code>Exception</code> indicating
View
8 core/src/java/org/jdom/IllegalDataException.java
@@ -1,8 +1,8 @@
/*--
- $Id: IllegalDataException.java,v 1.13 2004/02/06 09:28:30 jhunter Exp $
+ $Id: IllegalDataException.java,v 1.14 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -59,14 +59,14 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
/**
* Thrown when illegal text is supplied to a JDOM construct.
*
- * @version $Revision: 1.13 $, $Date: 2004/02/06 09:28:30 $
+ * @version $Revision: 1.14 $, $Date: 2007/11/10 05:28:59 $
* @author Brett McLaughlin
* @author Elliotte Rusty Harold
*/
public class IllegalDataException extends IllegalArgumentException {
private static final String CVS_ID =
- "@(#) $RCSfile: IllegalDataException.java,v $ $Revision: 1.13 $ $Date: 2004/02/06 09:28:30 $ $Name: $";
+ "@(#) $RCSfile: IllegalDataException.java,v $ $Revision: 1.14 $ $Date: 2007/11/10 05:28:59 $ $Name: $";
/**
* This will create an <code>Exception</code> indicating
View
8 core/src/java/org/jdom/IllegalNameException.java
@@ -1,8 +1,8 @@
/*--
- $Id: IllegalNameException.java,v 1.13 2004/02/06 09:28:30 jhunter Exp $
+ $Id: IllegalNameException.java,v 1.14 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -60,14 +60,14 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* Thrown when a name is supplied in construction of a JDOM construct whose
* where the name breaks XML naming conventions.
*
- * @version $Revision: 1.13 $, $Date: 2004/02/06 09:28:30 $
+ * @version $Revision: 1.14 $, $Date: 2007/11/10 05:28:59 $
* @author Brett McLaughlin
* @author Elliotte Rusty Harold
*/
public class IllegalNameException extends IllegalArgumentException {
private static final String CVS_ID =
- "@(#) $RCSfile: IllegalNameException.java,v $ $Revision: 1.13 $ $Date: 2004/02/06 09:28:30 $ $Name: $";
+ "@(#) $RCSfile: IllegalNameException.java,v $ $Revision: 1.14 $ $Date: 2007/11/10 05:28:59 $ $Name: $";
/**
* This will create an <code>Exception</code> indicating
View
8 core/src/java/org/jdom/IllegalTargetException.java
@@ -1,8 +1,8 @@
/*--
- $Id: IllegalTargetException.java,v 1.14 2004/02/06 09:28:30 jhunter Exp $
+ $Id: IllegalTargetException.java,v 1.15 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -60,13 +60,13 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* Thrown when a target is supplied in construction of a JDOM {@link
* ProcessingInstruction}, and that name breaks XML naming conventions.
*
- * @version $Revision: 1.14 $, $Date: 2004/02/06 09:28:30 $
+ * @version $Revision: 1.15 $, $Date: 2007/11/10 05:28:59 $
* @author Brett McLaughlin
*/
public class IllegalTargetException extends IllegalArgumentException {
private static final String CVS_ID =
- "@(#) $RCSfile: IllegalTargetException.java,v $ $Revision: 1.14 $ $Date: 2004/02/06 09:28:30 $ $Name: $";
+ "@(#) $RCSfile: IllegalTargetException.java,v $ $Revision: 1.15 $ $Date: 2007/11/10 05:28:59 $ $Name: $";
/**
* This will create an <code>Exception</code> indicating
View
8 core/src/java/org/jdom/JDOMException.java
@@ -1,8 +1,8 @@
/*--
- $Id: JDOMException.java,v 1.23 2004/02/27 11:32:57 jhunter Exp $
+ $Id: JDOMException.java,v 1.24 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -69,14 +69,14 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* can be caught to handle all JDOM specific problems (some methods may throw
* {@link java.io.IOException} and such).
*
- * @version $Revision: 1.23 $, $Date: 2004/02/27 11:32:57 $
+ * @version $Revision: 1.24 $, $Date: 2007/11/10 05:28:59 $
* @author Brett McLaughlin
* @author Jason Hunter
*/
public class JDOMException extends Exception {
private static final String CVS_ID =
- "@(#) $RCSfile: JDOMException.java,v $ $Revision: 1.23 $ $Date: 2004/02/27 11:32:57 $ $Name: $";
+ "@(#) $RCSfile: JDOMException.java,v $ $Revision: 1.24 $ $Date: 2007/11/10 05:28:59 $ $Name: $";
/** A wrapped <code>Throwable</code> */
private Throwable cause;
View
6 core/src/java/org/jdom/JDOMFactory.java
@@ -1,8 +1,8 @@
/*--
- $Id: JDOMFactory.java,v 1.8 2004/09/01 05:25:38 jhunter Exp $
+ $Id: JDOMFactory.java,v 1.9 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -64,7 +64,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* (Element, Document, Comment, etc). Another implementation of this factory
* could be used to create custom classes.
*
- * @version $Revision: 1.8 $, $Date: 2004/09/01 05:25:38 $
+ * @version $Revision: 1.9 $, $Date: 2007/11/10 05:28:59 $
* @author Ken Rune Holland
* @author Phil Nelson
* @author Bradley S. Huffman
View
8 core/src/java/org/jdom/Namespace.java
@@ -1,8 +1,8 @@
/*--
- $Id: Namespace.java,v 1.42 2004/12/11 00:46:02 jhunter Exp $
+ $Id: Namespace.java,v 1.43 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -65,7 +65,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* call the getNamespace() method on deserialization to ensure there is one
* unique Namespace object for any unique prefix/uri pair.
*
- * @version $Revision: 1.42 $, $Date: 2004/12/11 00:46:02 $
+ * @version $Revision: 1.43 $, $Date: 2007/11/10 05:28:59 $
* @author Brett McLaughlin
* @author Elliotte Rusty Harold
* @author Jason Hunter
@@ -84,7 +84,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
// No one has ever reported this over the many years, so don't worry yet.
private static final String CVS_ID =
- "@(#) $RCSfile: Namespace.java,v $ $Revision: 1.42 $ $Date: 2004/12/11 00:46:02 $ $Name: $";
+ "@(#) $RCSfile: Namespace.java,v $ $Revision: 1.43 $ $Date: 2007/11/10 05:28:59 $ $Name: $";
/**
* Factory list of namespaces.
View
8 core/src/java/org/jdom/NamespaceKey.java
@@ -1,8 +1,8 @@
/*--
- $Id: NamespaceKey.java,v 1.1 2004/12/11 00:46:02 jhunter Exp $
+ $Id: NamespaceKey.java,v 1.2 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -61,14 +61,14 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
/**
* Key for storing a namespace representation in a map.
*
- * @version $Revision: 1.1 $, $Date: 2004/12/11 00:46:02 $
+ * @version $Revision: 1.2 $, $Date: 2007/11/10 05:28:59 $
* @author Tatu Saloranta
* @author Bradley S. Huffman
*/
final class NamespaceKey {
private static final String CVS_ID =
- "@(#) $RCSfile: NamespaceKey.java,v $ $Revision: 1.1 $ $Date: 2004/12/11 00:46:02 $ $Name: $";
+ "@(#) $RCSfile: NamespaceKey.java,v $ $Revision: 1.2 $ $Date: 2007/11/10 05:28:59 $ $Name: $";
private String prefix;
private String uri;
View
6 core/src/java/org/jdom/Parent.java
@@ -1,8 +1,8 @@
/*--
- $Id: Parent.java,v 1.12 2004/08/31 21:47:51 jhunter Exp $
+ $Id: Parent.java,v 1.13 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -70,7 +70,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
*
* @author Bradley S. Huffman
* @author Jason Hunter
- * @version $Revision: 1.12 $, $Date: 2004/08/31 21:47:51 $
+ * @version $Revision: 1.13 $, $Date: 2007/11/10 05:28:59 $
*/
public interface Parent extends Cloneable, Serializable {
View
8 core/src/java/org/jdom/ProcessingInstruction.java
@@ -1,8 +1,8 @@
/*--
- $Id: ProcessingInstruction.java,v 1.46 2004/02/27 11:32:57 jhunter Exp $
+ $Id: ProcessingInstruction.java,v 1.47 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -64,7 +64,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* if the data appears akin to an attribute list, can be retrieved as name/value
* pairs.
*
- * @version $Revision: 1.46 $, $Date: 2004/02/27 11:32:57 $
+ * @version $Revision: 1.47 $, $Date: 2007/11/10 05:28:59 $
* @author Brett McLaughlin
* @author Jason Hunter
* @author Steven Gould
@@ -73,7 +73,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
public class ProcessingInstruction extends Content {
private static final String CVS_ID =
- "@(#) $RCSfile: ProcessingInstruction.java,v $ $Revision: 1.46 $ $Date: 2004/02/27 11:32:57 $ $Name: $";
+ "@(#) $RCSfile: ProcessingInstruction.java,v $ $Revision: 1.47 $ $Date: 2007/11/10 05:28:59 $ $Name: $";
/** The target of the PI */
protected String target;
View
8 core/src/java/org/jdom/Text.java
@@ -1,8 +1,8 @@
/*--
- $Id: Text.java,v 1.24 2004/02/27 11:32:57 jhunter Exp $
+ $Id: Text.java,v 1.25 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -61,7 +61,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* representing text. Text makes no guarantees about the underlying textual
* representation of character data, but does expose that data as a Java String.
*
- * @version $Revision: 1.24 $, $Date: 2004/02/27 11:32:57 $
+ * @version $Revision: 1.25 $, $Date: 2007/11/10 05:28:59 $
* @author Brett McLaughlin
* @author Jason Hunter
* @author Bradley S. Huffman
@@ -69,7 +69,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
public class Text extends Content {
private static final String CVS_ID =
- "@(#) $RCSfile: Text.java,v $ $Revision: 1.24 $ $Date: 2004/02/27 11:32:57 $ $Name: $";
+ "@(#) $RCSfile: Text.java,v $ $Revision: 1.25 $ $Date: 2007/11/10 05:28:59 $ $Name: $";
static final String EMPTY_STRING = "";
View
56 core/src/java/org/jdom/UncheckedJDOMFactory.java
@@ -1,3 +1,59 @@
+/*--
+
+ $Id: UncheckedJDOMFactory.java,v 1.4 2007/11/10 05:28:59 jhunter Exp $
+
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
+ 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 disclaimer that follows
+ these conditions in the documentation and/or other materials
+ provided with the distribution.
+
+ 3. The name "JDOM" must not be used to endorse or promote products
+ derived from this software without prior written permission. For
+ written permission, please contact <request_AT_jdom_DOT_org>.
+
+ 4. Products derived from this software may not be called "JDOM", nor
+ may "JDOM" appear in their name, without prior written permission
+ from the JDOM Project Management <request_AT_jdom_DOT_org>.
+
+ In addition, we request (but do not require) that you include in the
+ end-user documentation provided with the redistribution and/or in the
+ software itself an acknowledgement equivalent to the following:
+ "This product includes software developed by the
+ JDOM Project (http://www.jdom.org/)."
+ Alternatively, the acknowledgment may be graphical using the logos
+ available at http://www.jdom.org/images/logos.
+
+ 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 THE JDOM AUTHORS OR THE PROJECT
+ 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.
+
+ This software consists of voluntary contributions made by many
+ individuals on behalf of the JDOM Project and was originally
+ created by Jason Hunter <jhunter_AT_jdom_DOT_org> and
+ Brett McLaughlin <brett_AT_jdom_DOT_org>. For more information
+ on the JDOM Project, please see <http://www.jdom.org/>.
+
+ */
+
package org.jdom;
import java.util.*;
View
8 core/src/java/org/jdom/Verifier.java
@@ -1,8 +1,8 @@
/*--
- $Id: Verifier.java,v 1.54 2004/12/11 01:31:49 jhunter Exp $
+ $Id: Verifier.java,v 1.55 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -62,7 +62,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* A utility class to handle well-formedness checks on names, data, and other
* verification tasks for JDOM. The class is final and may not be subclassed.
*
- * @version $Revision: 1.54 $, $Date: 2004/12/11 01:31:49 $
+ * @version $Revision: 1.55 $, $Date: 2007/11/10 05:28:59 $
* @author Brett McLaughlin
* @author Elliotte Rusty Harold
* @author Jason Hunter
@@ -71,7 +71,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
final public class Verifier {
private static final String CVS_ID =
- "@(#) $RCSfile: Verifier.java,v $ $Revision: 1.54 $ $Date: 2004/12/11 01:31:49 $ $Name: $";
+ "@(#) $RCSfile: Verifier.java,v $ $Revision: 1.55 $ $Date: 2007/11/10 05:28:59 $ $Name: $";
/**
* Ensure instantation cannot occur.
View
8 core/src/java/org/jdom/adapters/AbstractDOMAdapter.java
@@ -1,8 +1,8 @@
/*--
- $Id: AbstractDOMAdapter.java,v 1.20 2004/02/06 09:28:31 jhunter Exp $
+ $Id: AbstractDOMAdapter.java,v 1.21 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -66,14 +66,14 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
/**
* A DOMAdapter utility abstract base class.
*
- * @version $Revision: 1.20 $, $Date: 2004/02/06 09:28:31 $
+ * @version $Revision: 1.21 $, $Date: 2007/11/10 05:28:59 $
* @author Brett McLaughlin
* @author Jason Hunter
*/
public abstract class AbstractDOMAdapter implements DOMAdapter {
private static final String CVS_ID =
- "@(#) $RCSfile: AbstractDOMAdapter.java,v $ $Revision: 1.20 $ $Date: 2004/02/06 09:28:31 $ $Name: $";
+ "@(#) $RCSfile: AbstractDOMAdapter.java,v $ $Revision: 1.21 $ $Date: 2007/11/10 05:28:59 $ $Name: $";
/**
* This creates a new <code>{@link Document}</code> from an
View
8 core/src/java/org/jdom/adapters/CrimsonDOMAdapter.java
@@ -1,8 +1,8 @@
/*--
- $Id: CrimsonDOMAdapter.java,v 1.16 2004/02/06 09:28:31 jhunter Exp $
+ $Id: CrimsonDOMAdapter.java,v 1.17 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -66,13 +66,13 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
/**
* An adapter for the Apache Crimson DOM parser.
*
- * @version $Revision: 1.16 $, $Date: 2004/02/06 09:28:31 $
+ * @version $Revision: 1.17 $, $Date: 2007/11/10 05:28:59 $
* @author Jason Hunter
*/
public class CrimsonDOMAdapter extends AbstractDOMAdapter {
private static final String CVS_ID =
- "@(#) $RCSfile: CrimsonDOMAdapter.java,v $ $Revision: 1.16 $ $Date: 2004/02/06 09:28:31 $ $Name: $";
+ "@(#) $RCSfile: CrimsonDOMAdapter.java,v $ $Revision: 1.17 $ $Date: 2007/11/10 05:28:59 $ $Name: $";
/**
* This creates a new <code>{@link Document}</code> from an
View
6 core/src/java/org/jdom/adapters/DOMAdapter.java
@@ -1,8 +1,8 @@
/*--
- $Id: DOMAdapter.java,v 1.21 2004/02/06 09:28:31 jhunter Exp $
+ $Id: DOMAdapter.java,v 1.22 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -67,7 +67,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* Implementing classes map these calls to DOM parser-specific calls, allowing
* any third-party parser to be used with JDOM.
*
- * @version $Revision: 1.21 $, $Date: 2004/02/06 09:28:31 $
+ * @version $Revision: 1.22 $, $Date: 2007/11/10 05:28:59 $
* @author Brett McLaughlin
* @author Jason Hunter
*/
View
8 core/src/java/org/jdom/adapters/JAXPDOMAdapter.java
@@ -1,8 +1,8 @@
/*--
- $Id: JAXPDOMAdapter.java,v 1.12 2004/02/06 09:28:31 jhunter Exp $
+ $Id: JAXPDOMAdapter.java,v 1.13 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -66,13 +66,13 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
/**
* An adapter for any parser supporting the Sun JAXP APIs.
*
- * @version $Revision: 1.12 $, $Date: 2004/02/06 09:28:31 $
+ * @version $Revision: 1.13 $, $Date: 2007/11/10 05:28:59 $
* @author Jason Hunter
*/
public class JAXPDOMAdapter extends AbstractDOMAdapter {
private static final String CVS_ID =
- "@(#) $RCSfile: JAXPDOMAdapter.java,v $ $Revision: 1.12 $ $Date: 2004/02/06 09:28:31 $ $Name: $";
+ "@(#) $RCSfile: JAXPDOMAdapter.java,v $ $Revision: 1.13 $ $Date: 2007/11/10 05:28:59 $ $Name: $";
/**
* This creates a new <code>{@link Document}</code> from an
View
8 core/src/java/org/jdom/adapters/OracleV1DOMAdapter.java
@@ -1,8 +1,8 @@
/*--
- $Id: OracleV1DOMAdapter.java,v 1.19 2004/02/06 09:28:31 jhunter Exp $
+ $Id: OracleV1DOMAdapter.java,v 1.20 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -66,14 +66,14 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
/**
* An adapter for the Oracle Version 1 DOM parser.
*
- * @version $Revision: 1.19 $, $Date: 2004/02/06 09:28:31 $
+ * @version $Revision: 1.20 $, $Date: 2007/11/10 05:28:59 $
* @author Brett McLaughlin
* @author Jason Hunter
*/
public class OracleV1DOMAdapter extends AbstractDOMAdapter {
private static final String CVS_ID =
- "@(#) $RCSfile: OracleV1DOMAdapter.java,v $ $Revision: 1.19 $ $Date: 2004/02/06 09:28:31 $ $Name: $";
+ "@(#) $RCSfile: OracleV1DOMAdapter.java,v $ $Revision: 1.20 $ $Date: 2007/11/10 05:28:59 $ $Name: $";
/**
* This creates a new <code>{@link Document}</code> from an
View
8 core/src/java/org/jdom/adapters/OracleV2DOMAdapter.java
@@ -1,8 +1,8 @@
/*--
- $Id: OracleV2DOMAdapter.java,v 1.18 2004/02/06 09:28:31 jhunter Exp $
+ $Id: OracleV2DOMAdapter.java,v 1.19 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -66,14 +66,14 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
/**
* An adapter for the Oracle Version 2 DOM parser.
*
- * @version $Revision: 1.18 $, $Date: 2004/02/06 09:28:31 $
+ * @version $Revision: 1.19 $, $Date: 2007/11/10 05:28:59 $
* @author Brett McLaughlin
* @author Jason Hunter
*/
public class OracleV2DOMAdapter extends AbstractDOMAdapter {
private static final String CVS_ID =
- "@(#) $RCSfile: OracleV2DOMAdapter.java,v $ $Revision: 1.18 $ $Date: 2004/02/06 09:28:31 $ $Name: $";
+ "@(#) $RCSfile: OracleV2DOMAdapter.java,v $ $Revision: 1.19 $ $Date: 2007/11/10 05:28:59 $ $Name: $";
/**
* This creates a new <code>{@link Document}</code> from an
View
8 core/src/java/org/jdom/adapters/XML4JDOMAdapter.java
@@ -1,8 +1,8 @@
/*--
- $Id: XML4JDOMAdapter.java,v 1.17 2004/02/06 09:28:31 jhunter Exp $
+ $Id: XML4JDOMAdapter.java,v 1.18 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -67,14 +67,14 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
/**
* An adapter for the IBM XML4J DOM parser.
*
- * @version $Revision: 1.17 $, $Date: 2004/02/06 09:28:31 $
+ * @version $Revision: 1.18 $, $Date: 2007/11/10 05:28:59 $
* @author Brett McLaughlin
* @author Jason Hunter
*/
public class XML4JDOMAdapter extends AbstractDOMAdapter {
private static final String CVS_ID =
- "@(#) $RCSfile: XML4JDOMAdapter.java,v $ $Revision: 1.17 $ $Date: 2004/02/06 09:28:31 $ $Name: $";
+ "@(#) $RCSfile: XML4JDOMAdapter.java,v $ $Revision: 1.18 $ $Date: 2007/11/10 05:28:59 $ $Name: $";
/**
* This creates a new <code>{@link Document}</code> from an
View
8 core/src/java/org/jdom/adapters/XercesDOMAdapter.java
@@ -1,8 +1,8 @@
/*--
- $Id: XercesDOMAdapter.java,v 1.18 2004/02/06 09:28:31 jhunter Exp $
+ $Id: XercesDOMAdapter.java,v 1.19 2007/11/10 05:28:59 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -67,14 +67,14 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
/**
* An adapter for the Apache Xerces DOM parser.
*
- * @version $Revision: 1.18 $, $Date: 2004/02/06 09:28:31 $
+ * @version $Revision: 1.19 $, $Date: 2007/11/10 05:28:59 $
* @author Brett McLaughlin
* @author Jason Hunter
*/
public class XercesDOMAdapter extends AbstractDOMAdapter {
private static final String CVS_ID =
- "@(#) $RCSfile: XercesDOMAdapter.java,v $ $Revision: 1.18 $ $Date: 2004/02/06 09:28:31 $ $Name: $";
+ "@(#) $RCSfile: XercesDOMAdapter.java,v $ $Revision: 1.19 $ $Date: 2007/11/10 05:28:59 $ $Name: $";
/**
* This creates a new <code>{@link Document}</code> from an
View
8 core/src/java/org/jdom/filter/AbstractFilter.java
@@ -1,8 +1,8 @@
/*--
- $Id: AbstractFilter.java,v 1.5 2004/02/27 11:32:58 jhunter Exp $
+ $Id: AbstractFilter.java,v 1.6 2007/11/10 05:29:00 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -60,12 +60,12 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* Partial implementation of {@link Filter}.
*
* @author Bradley S. Huffman
- * @version $Revision: 1.5 $, $Date: 2004/02/27 11:32:58 $
+ * @version $Revision: 1.6 $, $Date: 2007/11/10 05:29:00 $
*/
public abstract class AbstractFilter implements Filter {
private static final String CVS_ID =
- "@(#) $RCSfile: AbstractFilter.java,v $ $Revision: 1.5 $ $Date: 2004/02/27 11:32:58 $";
+ "@(#) $RCSfile: AbstractFilter.java,v $ $Revision: 1.6 $ $Date: 2007/11/10 05:29:00 $";
public Filter negate() {
return new NegateFilter(this);
View
8 core/src/java/org/jdom/filter/AndFilter.java
@@ -1,8 +1,8 @@
/*--
- $Id: AndFilter.java,v 1.3 2004/02/06 09:28:31 jhunter Exp $
+ $Id: AndFilter.java,v 1.4 2007/11/10 05:29:00 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -61,12 +61,12 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* <b>and</b> operation.
*
* @author Bradley S. Huffman
- * @version $Revision: 1.3 $, $Date: 2004/02/06 09:28:31 $
+ * @version $Revision: 1.4 $, $Date: 2007/11/10 05:29:00 $
*/
final class AndFilter extends AbstractFilter {
private static final String CVS_ID =
- "@(#) $RCSfile: AndFilter.java,v $ $Revision: 1.3 $ $Date: 2004/02/06 09:28:31 $";
+ "@(#) $RCSfile: AndFilter.java,v $ $Revision: 1.4 $ $Date: 2007/11/10 05:29:00 $";
// Filter for left side of logical <b>and</b>.
private Filter left;
View
8 core/src/java/org/jdom/filter/ContentFilter.java
@@ -1,8 +1,8 @@
/*--
- $Id: ContentFilter.java,v 1.14 2004/08/31 04:56:07 jhunter Exp $
+ $Id: ContentFilter.java,v 1.15 2007/11/10 05:29:00 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -79,13 +79,13 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* <p>
* The default is to allow all valid JDOM objects.
*
- * @version $Revision: 1.14 $, $Date: 2004/08/31 04:56:07 $
+ * @version $Revision: 1.15 $, $Date: 2007/11/10 05:29:00 $
* @author Bradley S. Huffman
*/
public class ContentFilter extends AbstractFilter {
private static final String CVS_ID =
- "@(#) $RCSfile: ContentFilter.java,v $ $Revision: 1.14 $ $Date: 2004/08/31 04:56:07 $ $Name: $";
+ "@(#) $RCSfile: ContentFilter.java,v $ $Revision: 1.15 $ $Date: 2007/11/10 05:29:00 $ $Name: $";
/** Mask for JDOM {@link Element} objects */
public static final int ELEMENT = 1;
View
8 core/src/java/org/jdom/filter/ElementFilter.java
@@ -1,8 +1,8 @@
/*--
- $Id: ElementFilter.java,v 1.19 2007/11/09 09:31:50 jhunter Exp $
+ $Id: ElementFilter.java,v 1.20 2007/11/10 05:29:00 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -62,14 +62,14 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
/**
* A Filter that only matches {@link org.jdom.Element} objects.
*
- * @version $Revision: 1.19 $, $Date: 2007/11/09 09:31:50 $
+ * @version $Revision: 1.20 $, $Date: 2007/11/10 05:29:00 $
* @author Jools Enticknap
* @author Bradley S. Huffman
*/
public class ElementFilter extends AbstractFilter {
private static final String CVS_ID =
- "@(#) $RCSfile: ElementFilter.java,v $ $Revision: 1.19 $ $Date: 2007/11/09 09:31:50 $ $Name: $";
+ "@(#) $RCSfile: ElementFilter.java,v $ $Revision: 1.20 $ $Date: 2007/11/10 05:29:00 $ $Name: $";
/** The element name */
private String name;
View
6 core/src/java/org/jdom/filter/Filter.java
@@ -1,8 +1,8 @@
/*--
- $Id: Filter.java,v 1.9 2004/02/06 09:28:31 jhunter Exp $
+ $Id: Filter.java,v 1.10 2007/11/10 05:29:00 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -60,7 +60,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
/**
* A generalized filter to restrict visibility or mutability on a list.
*
- * @version $Revision: 1.9 $, $Date: 2004/02/06 09:28:31 $
+ * @version $Revision: 1.10 $, $Date: 2007/11/10 05:29:00 $
* @author Jools Enticknap
* @author Bradley S. Huffman
*/
View
8 core/src/java/org/jdom/filter/NegateFilter.java
@@ -1,8 +1,8 @@
/*--
- $Id: NegateFilter.java,v 1.3 2004/02/06 09:28:31 jhunter Exp $
+ $Id: NegateFilter.java,v 1.4 2007/11/10 05:29:00 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -61,12 +61,12 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
*
*
* @author Bradley S. Huffman
- * @version $Revision: 1.3 $, $Date: 2004/02/06 09:28:31 $
+ * @version $Revision: 1.4 $, $Date: 2007/11/10 05:29:00 $
*/
final class NegateFilter extends AbstractFilter {
private static final String CVS_ID =
- "@(#) $RCSfile: NegateFilter.java,v $ $Revision: 1.3 $ $Date: 2004/02/06 09:28:31 $";
+ "@(#) $RCSfile: NegateFilter.java,v $ $Revision: 1.4 $ $Date: 2007/11/10 05:29:00 $";
// Underlying filter.
private Filter filter;
View
8 core/src/java/org/jdom/filter/OrFilter.java
@@ -1,8 +1,8 @@
/*--
- $Id: OrFilter.java,v 1.4 2004/02/06 09:28:31 jhunter Exp $
+ $Id: OrFilter.java,v 1.5 2007/11/10 05:29:00 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -61,12 +61,12 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* <b>or</b> operation.
*
* @author Bradley S. Huffman
- * @version $Revision: 1.4 $, $Date: 2004/02/06 09:28:31 $
+ * @version $Revision: 1.5 $, $Date: 2007/11/10 05:29:00 $
*/
final class OrFilter extends AbstractFilter {
private static final String CVS_ID =
- "@(#) $RCSfile: OrFilter.java,v $ $Revision: 1.4 $ $Date: 2004/02/06 09:28:31 $";
+ "@(#) $RCSfile: OrFilter.java,v $ $Revision: 1.5 $ $Date: 2007/11/10 05:29:00 $";
/** Filter for left side of logical <b>or</b> */
private Filter left;
View
8 core/src/java/org/jdom/input/BuilderErrorHandler.java
@@ -1,8 +1,8 @@
/*--
- $Id: BuilderErrorHandler.java,v 1.12 2004/02/06 09:28:31 jhunter Exp $
+ $Id: BuilderErrorHandler.java,v 1.13 2007/11/10 05:29:00 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -62,13 +62,13 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* The standard JDOM error handler implementation.
*
* @author Jason Hunter
- * @version $Revision: 1.12 $, $Date: 2004/02/06 09:28:31 $
+ * @version $Revision: 1.13 $, $Date: 2007/11/10 05:29:00 $
*/
public class BuilderErrorHandler implements ErrorHandler {
private static final String CVS_ID =
- "@(#) $RCSfile: BuilderErrorHandler.java,v $ $Revision: 1.12 $ $Date: 2004/02/06 09:28:31 $ $Name: $";
+ "@(#) $RCSfile: BuilderErrorHandler.java,v $ $Revision: 1.13 $ $Date: 2007/11/10 05:29:00 $ $Name: $";
/**
* This method is called when a warning has occurred; this indicates
View
8 core/src/java/org/jdom/input/DOMBuilder.java
@@ -1,8 +1,8 @@
/*--
- $Id: DOMBuilder.java,v 1.59 2004/09/03 06:03:41 jhunter Exp $
+ $Id: DOMBuilder.java,v 1.60 2007/11/10 05:29:00 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -66,7 +66,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* DOM {@link org.w3c.dom.Document org.w3c.dom.Document}. Also handy for testing
* builds from files to sanity check {@link SAXBuilder}.
*
- * @version $Revision: 1.59 $, $Date: 2004/09/03 06:03:41 $
+ * @version $Revision: 1.60 $, $Date: 2007/11/10 05:29:00 $
* @author Brett McLaughlin
* @author Jason Hunter
* @author Philip Nelson
@@ -78,7 +78,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
public class DOMBuilder {
private static final String CVS_ID =
- "@(#) $RCSfile: DOMBuilder.java,v $ $Revision: 1.59 $ $Date: 2004/09/03 06:03:41 $ $Name: $";
+ "@(#) $RCSfile: DOMBuilder.java,v $ $Revision: 1.60 $ $Date: 2007/11/10 05:29:00 $ $Name: $";
/** Adapter class to use */
private String adapterClass;
View
8 core/src/java/org/jdom/input/JAXPParserFactory.java
@@ -1,8 +1,8 @@
/*--
- $Id: JAXPParserFactory.java,v 1.5 2004/02/27 21:08:47 jhunter Exp $
+ $Id: JAXPParserFactory.java,v 1.6 2007/11/10 05:29:00 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -66,13 +66,13 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
/**
* A non-public utility class to allocate JAXP SAX parsers.
*
- * @version $Revision: 1.5 $, $Date: 2004/02/27 21:08:47 $
+ * @version $Revision: 1.6 $, $Date: 2007/11/10 05:29:00 $
* @author Laurent Bihanic
*/
class JAXPParserFactory { // package protected
private static final String CVS_ID =
- "@(#) $RCSfile: JAXPParserFactory.java,v $ $Revision: 1.5 $ $Date: 2004/02/27 21:08:47 $ $Name: $";
+ "@(#) $RCSfile: JAXPParserFactory.java,v $ $Revision: 1.6 $ $Date: 2007/11/10 05:29:00 $ $Name: $";
/** JAXP 1.2 schema language property id. */
private static final String JAXP_SCHEMA_LANGUAGE_PROPERTY =
View
8 core/src/java/org/jdom/input/JDOMParseException.java
@@ -1,8 +1,8 @@
/*--
- $Id: JDOMParseException.java,v 1.7 2004/02/17 02:29:24 jhunter Exp $
+ $Id: JDOMParseException.java,v 1.8 2007/11/10 05:29:00 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -63,13 +63,13 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* Thrown during parse errors, with information about where the parse error
* occurred as well as access to the partially built document.
*
- * @version $Revision: 1.7 $, $Date: 2004/02/17 02:29:24 $
+ * @version $Revision: 1.8 $, $Date: 2007/11/10 05:29:00 $
* @author Laurent Bihanic
*/
public class JDOMParseException extends JDOMException {
private static final String CVS_ID =
- "@(#) $RCSfile: JDOMParseException.java,v $ $Revision: 1.7 $ $Date: 2004/02/17 02:29:24 $ $Name: $";
+ "@(#) $RCSfile: JDOMParseException.java,v $ $Revision: 1.8 $ $Date: 2007/11/10 05:29:00 $ $Name: $";
/**
* The portion of the document that was successfully built before
View
8 core/src/java/org/jdom/input/SAXBuilder.java
@@ -1,8 +1,8 @@
/*--
- $Id: SAXBuilder.java,v 1.91 2004/12/11 02:17:58 jhunter Exp $
+ $Id: SAXBuilder.java,v 1.92 2007/11/10 05:29:00 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -79,7 +79,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* Known issues: Relative paths for a {@link DocType} or {@link EntityRef} may
* be converted by the SAX parser into absolute paths.
*
- * @version $Revision: 1.91 $, $Date: 2004/12/11 02:17:58 $
+ * @version $Revision: 1.92 $, $Date: 2007/11/10 05:29:00 $
* @author Jason Hunter
* @author Brett McLaughlin
* @author Dan Schaffer
@@ -89,7 +89,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
public class SAXBuilder {
private static final String CVS_ID =
- "@(#) $RCSfile: SAXBuilder.java,v $ $Revision: 1.91 $ $Date: 2004/12/11 02:17:58 $ $Name: $";
+ "@(#) $RCSfile: SAXBuilder.java,v $ $Revision: 1.92 $ $Date: 2007/11/10 05:29:00 $ $Name: $";
/**
* Default parser class to use. This is used when no other parser
View
8 core/src/java/org/jdom/input/SAXHandler.java
@@ -1,8 +1,8 @@
/*--
- $Id: SAXHandler.java,v 1.72 2007/11/09 10:55:21 jhunter Exp $
+ $Id: SAXHandler.java,v 1.73 2007/11/10 05:29:00 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -66,7 +66,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
/**
* A support class for {@link SAXBuilder}.
*
- * @version $Revision: 1.72 $, $Date: 2007/11/09 10:55:21 $
+ * @version $Revision: 1.73 $, $Date: 2007/11/10 05:29:00 $
* @author Brett McLaughlin
* @author Jason Hunter
* @author Philip Nelson
@@ -78,7 +78,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
DTDHandler {
private static final String CVS_ID =
- "@(#) $RCSfile: SAXHandler.java,v $ $Revision: 1.72 $ $Date: 2007/11/09 10:55:21 $ $Name: $";
+ "@(#) $RCSfile: SAXHandler.java,v $ $Revision: 1.73 $ $Date: 2007/11/10 05:29:00 $ $Name: $";
/** Hash table to map SAX attribute type names to JDOM attribute types. */
private static final Map attrNameToTypeMap = new HashMap(13);
View
8 core/src/java/org/jdom/input/TextBuffer.java
@@ -1,8 +1,8 @@
/*--
- $Id: TextBuffer.java,v 1.9 2004/12/11 01:31:50 jhunter Exp $
+ $Id: TextBuffer.java,v 1.10 2007/11/10 05:29:00 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -71,14 +71,14 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* means that no extra unused char array space will be kept around after parsing
* is through.
*
- * @version $Revision: 1.9 $, $Date: 2004/12/11 01:31:50 $
+ * @version $Revision: 1.10 $, $Date: 2007/11/10 05:29:00 $
* @author Bradley S. Huffman
* @author Alex Rosen
*/
class TextBuffer {
private static final String CVS_ID =
- "@(#) $RCSfile: TextBuffer.java,v $ $Revision: 1.9 $ $Date: 2004/12/11 01:31:50 $ $Name: $";
+ "@(#) $RCSfile: TextBuffer.java,v $ $Revision: 1.10 $ $Date: 2007/11/10 05:29:00 $ $Name: $";
/** The first part of the text value (the "prefix"). If null, the
* text value is the empty string. */
View
8 core/src/java/org/jdom/output/DOMOutputter.java
@@ -1,8 +1,8 @@
/*--
- $Id: DOMOutputter.java,v 1.42 2006/11/16 08:59:48 jhunter Exp $
+ $Id: DOMOutputter.java,v 1.43 2007/11/10 05:29:01 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -67,7 +67,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* Outputs a JDOM {@link org.jdom.Document org.jdom.Document} as a DOM {@link
* org.w3c.dom.Document org.w3c.dom.Document}.
*
- * @version $Revision: 1.42 $, $Date: 2006/11/16 08:59:48 $
+ * @version $Revision: 1.43 $, $Date: 2007/11/10 05:29:01 $
* @author Brett McLaughlin
* @author Jason Hunter
* @author Matthew Merlo
@@ -78,7 +78,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
public class DOMOutputter {
private static final String CVS_ID =
- "@(#) $RCSfile: DOMOutputter.java,v $ $Revision: 1.42 $ $Date: 2006/11/16 08:59:48 $ $Name: $";
+ "@(#) $RCSfile: DOMOutputter.java,v $ $Revision: 1.43 $ $Date: 2007/11/10 05:29:01 $ $Name: $";
/** Default adapter class */
private static final String DEFAULT_ADAPTER_CLASS =
View
6 core/src/java/org/jdom/output/EscapeStrategy.java
@@ -1,8 +1,8 @@
/*--
- $Id: EscapeStrategy.java,v 1.3 2004/02/06 09:28:32 jhunter Exp $
+ $Id: EscapeStrategy.java,v 1.4 2007/11/10 05:29:01 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -60,7 +60,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* Logic to determine which characters should be formatted as character
* entities.
*
- * @version $Revision: 1.3 $, $Date: 2004/02/06 09:28:32 $
+ * @version $Revision: 1.4 $, $Date: 2007/11/10 05:29:01 $
* @author Alex Rosen
* @author Bradley S. Huffman
* @author Jason Hunter
View
8 core/src/java/org/jdom/output/Format.java
@@ -1,8 +1,8 @@
/*--
- $Id: Format.java,v 1.12 2007/11/09 10:23:46 jhunter Exp $
+ $Id: Format.java,v 1.13 2007/11/10 05:29:01 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -68,13 +68,13 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* Several modes are available to effect the way textual content is printed.
* See the documentation for {@link TextMode} for details.
*
- * @version $Revision: 1.12 $, $Date: 2007/11/09 10:23:46 $
+ * @version $Revision: 1.13 $, $Date: 2007/11/10 05:29:01 $
* @author Jason Hunter
*/
public class Format implements Cloneable {
private static final String CVS_ID =
- "@(#) $RCSfile: Format.java,v $ $Revision: 1.12 $ $Date: 2007/11/09 10:23:46 $ $Name: $";
+ "@(#) $RCSfile: Format.java,v $ $Revision: 1.13 $ $Date: 2007/11/10 05:29:01 $ $Name: $";
/**
* Returns a new Format object that performs no whitespace changes, uses
View
8 core/src/java/org/jdom/output/JDOMLocator.java
@@ -1,8 +1,8 @@
/*--
- $Id: JDOMLocator.java,v 1.3 2004/02/06 09:28:32 jhunter Exp $
+ $Id: JDOMLocator.java,v 1.4 2007/11/10 05:29:01 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -65,12 +65,12 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
*
* @author Laurent Bihanic
*
- * @version $Revision: 1.3 $, $Date: 2004/02/06 09:28:32 $
+ * @version $Revision: 1.4 $, $Date: 2007/11/10 05:29:01 $
*/
public class JDOMLocator extends LocatorImpl {
private static final String CVS_ID =
- "@(#) $RCSfile: JDOMLocator.java,v $ $Revision: 1.3 $ $Date: 2004/02/06 09:28:32 $ $Name: $";
+ "@(#) $RCSfile: JDOMLocator.java,v $ $Revision: 1.4 $ $Date: 2007/11/10 05:29:01 $ $Name: $";
/** The JDOM node being processed by SAXOutputter. */
private Object node;
View
8 core/src/java/org/jdom/output/NamespaceStack.java
@@ -1,8 +1,8 @@
/*--
- $Id: NamespaceStack.java,v 1.13 2004/02/06 09:28:32 jhunter Exp $
+ $Id: NamespaceStack.java,v 1.14 2007/11/10 05:29:01 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -64,7 +64,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* <code>{@link SAXOutputter}</code> to manage namespaces in a JDOM Document
* during output.
*
- * @version $Revision: 1.13 $, $Date: 2004/02/06 09:28:32 $
+ * @version $Revision: 1.14 $, $Date: 2007/11/10 05:29:01 $
* @author Elliotte Rusty Harolde
* @author Fred Trimble
* @author Brett McLaughlin
@@ -72,7 +72,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
class NamespaceStack {
private static final String CVS_ID =
- "@(#) $RCSfile: NamespaceStack.java,v $ $Revision: 1.13 $ $Date: 2004/02/06 09:28:32 $ $Name: $";
+ "@(#) $RCSfile: NamespaceStack.java,v $ $Revision: 1.14 $ $Date: 2007/11/10 05:29:01 $ $Name: $";
/** The prefixes available */
private Stack prefixes;
View
8 core/src/java/org/jdom/output/SAXOutputter.java
@@ -1,8 +1,8 @@
/*--
- $Id: SAXOutputter.java,v 1.39 2007/11/09 10:33:09 jhunter Exp $
+ $Id: SAXOutputter.java,v 1.40 2007/11/10 05:29:01 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -82,7 +82,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* these are supposed to be invoked when the document is parsed and at this
* point the document exists in memory and is known to have no errors. </p>
*
- * @version $Revision: 1.39 $, $Date: 2007/11/09 10:33:09 $
+ * @version $Revision: 1.40 $, $Date: 2007/11/10 05:29:01 $
* @author Brett McLaughlin
* @author Jason Hunter
* @author Fred Trimble
@@ -91,7 +91,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
public class SAXOutputter {
private static final String CVS_ID =
- "@(#) $RCSfile: SAXOutputter.java,v $ $Revision: 1.39 $ $Date: 2007/11/09 10:33:09 $ $Name: $";
+ "@(#) $RCSfile: SAXOutputter.java,v $ $Revision: 1.40 $ $Date: 2007/11/10 05:29:01 $ $Name: $";
/** Shortcut for SAX namespaces core feature */
private static final String NAMESPACES_SAX_FEATURE =
View
8 core/src/java/org/jdom/output/XMLOutputter.java
@@ -1,8 +1,8 @@
/*--
- $Id: XMLOutputter.java,v 1.115 2007/11/09 10:23:46 jhunter Exp $
+ $Id: XMLOutputter.java,v 1.116 2007/11/10 05:29:01 jhunter Exp $
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
+ Copyright (C) 2000-2007 Jason Hunter & Brett McLaughlin.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -100,7 +100,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* configured with <code>{@link Format#setExpandEmptyElements}</code> to cause
* them to be expanded to &lt;empty&gt;&lt;/empty&gt;.
*
- * @version $Revision: 1.115 $, $Date: 2007/11/09 10:23:46 $
+ * @version $Revision: 1.116 $, $Date: 2007/11/10 05:29:01 $
* @author Brett McLaughlin
* @author Jason Hunter
* @author Jason Reid
@@ -115,7 +115,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
public class XMLOutputter implements Cloneable {
private static final String CVS_ID =
- "@(#) $RCSfile: XMLOutputter.java,v $ $Revision: 1.115 $ $Date: 2007/11/09 10:23:46 $ $Name: $";
+ "@(#) $RCSfile: XMLOutputter.java,v $ $Revision: 1.116 $ $Date: 2007/11/10 05:29:01 $ $Name: $";
// For normal output
private Format userFormat = Format.getRawFormat();
View
8