[jdom-interest] Inheritance for the people!
Jason Hunter
jhunter at collab.net
Tue Jan 9 10:04:22 PST 2001
> The JDOMElement should be the abstract superclass for
> Element, Attribute and CDATA.
No, an attribute is not an element. And CDATA is not an element
either. Many have tinkered with a common Node interface, but all
attempts to go that way have had some flaw.
> But alas that is only possible if there existed a common superclass
> for JDOM elements.
There is a common superclass for JDOM *elements*: Element. You can
subclass Element all you like.
-jh-
More information about the jdom-interest
mailing list