[jdom-interest] request for convenience methods

Taylor , Patrick ptaylor at rational.com
Thu Feb 15 10:46:13 PST 2001


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();



More information about the jdom-interest mailing list