[jdom-interest] request for convenience methods
Jason Hunter
jhunter at collab.net
Thu Feb 15 20:15:52 PST 2001
I'll add them to the TODO.txt as things to consider. If people have
opinions, speak up. BTW, the existing way to do these cmds is:
elt.getAttributes().isEmpty() // instead of hasAttributes
elt.getMixedContent().isEmpty() // instead of isEmpty
-jh-
"Taylor , Patrick" wrote:
>
> It would be nice if Element had the following convenience methods:
>
> // for consistency with hasChildren(), hasMixedContent()
> boolean hasAttributes();
>
> // is completely empty? ie, "<ELEM/>" or "<ELEM><ELEM/>"
> boolean isEmpty();
> _______________________________________________
> 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