[jdom-interest] getDocument() patch

bob bob at accurev.com
Sun Sep 24 18:52:50 PDT 2000



Removed isRootElement boolean flag, and replaced with a Document document
member.  Held only by the root element.  isRootElement() now tests against 
(this.document != null).

Removed setIsRootElement() and added setDocument() instead.

Added getDocument() which recurses to an element which isRootElement(),
and returns it's this.document, or null, if not a part of a well-formed

Patch against the CVS tree as of 9:45pm Eastern tonight.

It compiled, but I haven't really tested it.

btw, diff -u now includes, by default, the ant-modified
build scripts with EOL changes.  Blaugh.


More information about the jdom-interest mailing list