[jdom-interest] FilterList and Filter

bob mcwhirter bob at werken.com
Mon Jan 7 06:47:57 PST 2002

I believe that are used internally (any way to just make them package
private?) so that when you ask for children elements named <bob>, it
just filters the mixed content providing access only to all of the <bob>s.

You don't need to use'em.  If you want to filter things, check
out jakarta.apache.org, the commons-collections package has a nice
FilterIterator for doing subsequent filtering, such as for <bob>'s that
have an attribute age="28" or similar.

		<bob age="28"/>

On Mon, 7 Jan 2002, Kevin Jones wrote:

> Can somebody explain to me how I should use FilterList and Filter.
> I assumed that I could call getChildren and then apply a filter to the
> returned FilterList. But I can't do this. So I was wondering what the
> purpose of Filter and FilterList were and where I would use them.
> Thanks
> Kevin Jones
> Developmentor
> www.develop.com 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com

More information about the jdom-interest mailing list