[jdom-interest] GetElementsByTagName in JDom ?

Jason Hunter jhunter at servlets.com
Thu Feb 7 09:37:20 PST 2002


Right, I don't think FilterList needs to be public, but the methods to
get content based on a Filter should be public, including a method to
get content recursively.

-jh-

"Bradley S. Huffman" wrote:
> 
> Alex Rosen writes:
> 
> > I have no real opinion on this. It's not really something that I'd use, but
> > if it's useful to others, and people think it's worth the effort, and the
> > API increase, then it's fine with me. IIRC Brad made it public, and then we
> > decided to make everything non-public for now, since we can always make it
> > public later but not vice versa, right?
> 
> Right, and on second thought it probably should remain non-public (the actual
> class that is) and manipulated through the List interface.  There's the idea
> of a method in Element:
> 
>     public List getContent(Filter) {.....
> 
> But at the time we didn't really have any interesting filters that provided
> additonal functionality beyond the other get* methods so it was left out
> for the time being.
> 
> Brad
> 
> > > -----Original Message-----
> > > From: Bilton, Sasha [mailto:Sasha.Bilton at bskyb.com]
> > > Sent: Thursday, February 07, 2002 6:37 AM
> > > To: 'Alex Rosen'
> > > Subject: RE: [jdom-interest] GetElementsByTagName in JDom ?
> > >
> > >
> > > > From: Alex Rosen [mailto:arosen at silverstream.com]
> > > >
> > > > Sure, that's what getChildren(String) does under the covers.
> > > > (I believe that
> > > > FilterList is currently planned to be an internal,
> > > > implementation class, not
> > > > a publicly accessible one.)
> > >
> > > Maybe I'm missing the point, but wouldn't FilterList make a
> > > good addition to
> > > the public API?
> > >
> > > Sasha
> >
> _______________________________________________
> 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