[jdom-commits] CVS Update: jdom/samples

nobody nobody at chimbo.servlets.com
Wed May 21 02:17:44 PDT 2003

Date:   Wed May 21, 2003 @03:17:44 MDT

Update of /home/cvs/jdom/samples
In directory chimbo:/tmp/cvs-serv1632/samples

Added Files:
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

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!!


File: no file DescendantDemo.java		Status: Needs Checkout

   Working revision:	1.1	Wed May 21 09:17:44 2003
   Repository revision:	1.1	/home/cvs/jdom/samples/DescendantDemo.java,v

   Existing Tags:
	No Tags Exist

More information about the jdom-commits mailing list