[jdom-commits] CVS Update: jdom/src/java/org/jdom
nobody
nobody at chimbo.servlets.com
Wed May 21 02:17:45 PDT 2003
****************************************
Date: Wed May 21, 2003 @03:17:45 MDT
Author:
Update of /home/cvs/jdom/src/java/org/jdom
In directory chimbo:/tmp/cvs-serv1632/src/java/org/jdom
Modified Files:
Document.java Element.java Parent.java
Added Files:
DescendantIterator.java FilterIterator.java
Log Message:
Added two new methods to Parent:
Iterator getDescendants()
Iterator getDescendants(Filter)
Implemented the logic to support these methods using the package
protected classes org.jdom.DescendantIterator and
org.jdom.FilterIterator.
Enhanced the old filter classes so they now extend a new
AbstractFilter class and inherit its and(), or(), and negate() methods.
Added new package protected AndFilter, OrFilter, and NegateFilter
classes to support this.
Added samples/DescendantDemo.java to show how to iterate.
Removed this item from the TODO.
Thanks to Brad's jdom-x for much of the code and inspiration for this!!
-jh-
===================================================================
File: no file DescendantIterator.java Status: Needs Checkout
Working revision: 1.1 Wed May 21 09:17:44 2003
Repository revision: 1.1 /home/cvs/jdom/src/java/org/jdom/DescendantIterator.java,v
Existing Tags:
No Tags Exist
===================================================================
File: no file FilterIterator.java Status: Needs Checkout
Working revision: 1.1 Wed May 21 09:17:45 2003
Repository revision: 1.1 /home/cvs/jdom/src/java/org/jdom/FilterIterator.java,v
Existing Tags:
No Tags Exist
===================================================================
File: no file Document.java Status: Needs Checkout
Working revision: 1.68 Wed May 21 09:17:45 2003
Repository revision: 1.68 /home/cvs/jdom/src/java/org/jdom/Document.java,v
Existing Tags:
jdom_1_0_b9 (revision: 1.63)
jdom_1_0_b8 (revision: 1.55)
jdom_prefilter (revision: 1.47)
jdom_1_0_b7 (revision: 1.44)
jdom_1_0_b6 (revision: 1.25)
start (revision: 1.1.1.1)
jdom (branch: 1.1.1)
===================================================================
File: no file Element.java Status: Needs Checkout
Working revision: 1.136 Wed May 21 09:17:45 2003
Repository revision: 1.136 /home/cvs/jdom/src/java/org/jdom/Element.java,v
Existing Tags:
jdom_1_0_b9 (revision: 1.130)
jdom_1_0_b8 (revision: 1.115)
jdom_prefilter (revision: 1.102)
jdom_1_0_b7 (revision: 1.96)
jdom_1_0_b6 (revision: 1.52)
start (revision: 1.1.1.1)
jdom (branch: 1.1.1)
===================================================================
File: no file Parent.java Status: Needs Checkout
Working revision: 1.2 Wed May 21 09:17:45 2003
Repository revision: 1.2 /home/cvs/jdom/src/java/org/jdom/Parent.java,v
Existing Tags:
No Tags Exist
More information about the jdom-commits
mailing list