[jdom-interest] isRootElement issue
Guy Nirpaz
guyn at tantian.com
Mon Oct 23 22:52:59 PDT 2000
> > Ideally I feel root.isRootElement should return true sice it
> > has a child.
>
> Just because you have a child doesn't mean you're the root. A root
> element is the single element directly held by a document. This is what
> isRootElement() tests for.
>
> -jh-
>
Maybe a better name for the method could be isDocumentRoot () ?
Guy
>
> _______________________________________________
> To control your jdom-interest membership:
>
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
>
More information about the jdom-interest
mailing list