[jdom-commits] CVS update: jdom/src/java/org/jdom

jhunter at cvs.jdom.org jhunter at cvs.jdom.org
Wed Apr 18 09:13:58 PDT 2001


Date:	Wednesday April 18, 2001 @ 17:13
Author:	jhunter

Update of /home/cvspublic/jdom/src/java/org/jdom
In directory www.nmemonix.com:/tmp/cvs-serv11232/src/java/org/jdom

Modified Files:
	DocType.java Document.java Element.java 
	IllegalAddException.java 
Log Message:
Added parentage to DocType so it now has a public getDocument() method
that points at its holding Document.  It also has a protected 
setDocument() method that is used by Document to manage its parentage.

Added notes to the Javadoc of methods that return List that the List 
returned is in document order.  There was some doubt about that earlier, 
so best to be clear.

Changed elt.setAttribute() so it now replaces any existing attribute with 
the same name instead of throwing an IllegalAddException about a 
collision.  This was part of the Javadoc, and the impl just had to 
catch up.

Added a new constructor to IllegalAddException to handle the case when a
DocType is added with a pre-existing parent:
 public IllegalAddException(Document base, DocType added, String reason)

Updated TODO to reflect these changes.

-jh-

===================================================================
File: no file DocType.java		Status: Needs Checkout

   Working revision:	1.12	Wed Apr 18 16:13:58 2001
   Repository revision:	1.12	/home/cvspublic/jdom/src/java/org/jdom/DocType.java,v

   Existing Tags:
	start                    	(revision: 1.1.1.1)
	jdom                     	(branch: 1.1.1)

===================================================================
File: no file Document.java		Status: Needs Checkout

   Working revision:	1.36	Wed Apr 18 16:13:58 2001
   Repository revision:	1.36	/home/cvspublic/jdom/src/java/org/jdom/Document.java,v

   Existing Tags:
	start                    	(revision: 1.1.1.1)
	jdom                     	(branch: 1.1.1)

===================================================================
File: no file Element.java		Status: Needs Checkout

   Working revision:	1.69	Wed Apr 18 16:13:58 2001
   Repository revision:	1.69	/home/cvspublic/jdom/src/java/org/jdom/Element.java,v

   Existing Tags:
	start                    	(revision: 1.1.1.1)
	jdom                     	(branch: 1.1.1)

===================================================================
File: no file IllegalAddException.java		Status: Needs Checkout

   Working revision:	1.11	Wed Apr 18 16:13:58 2001
   Repository revision:	1.11	/home/cvspublic/jdom/src/java/org/jdom/IllegalAddException.java,v

   Existing Tags:
	start                    	(revision: 1.1.1.1)
	jdom                     	(branch: 1.1.1)




More information about the jdom-commits mailing list