I've done a little poking around and I believe I've
found the answer to my question regarding wrapping
my custom tree to work with dom4j.  It's the
org.dom4j.tree.AbstractNode class (which doesn't
show up in the online JavaDoc, by the way.)

I just need to derive the class that wraps my
custom tree nodes and implements dom4j's Node
interface from the AbstractNode class.

As a simple example of the kind of thing I was looking
for, I can just implement the getNodeType() method
which returns a numeric designator, and the
AbstractNode class will then take care of implementing
the getNodeTypeName() method.

May I gently suggest that the online JavaDoc on the
xml4j.org site be updated to match what I got in the
download?  All of the abstract tree implementation
classes show up fine there.

And thanks for this great toolkit!  Now that I've
found what I'm looking for, I'm even more excited.

Best regards,
Bryan Carpenter



__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/

_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to