Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Element subclassing example

xom-interest AT

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT>
  • To: "Kevin Y. Kim (Lists)" <kykim_lists AT>
  • Cc: xom-interest AT
  • Subject: Re: [XOM-interest] Element subclassing example
  • Date: Tue, 27 Dec 2005 14:32:56 -0500

Kevin Y. Kim (Lists) wrote:
Hey all,

Is there someone who's willing to share/provide a good example of Element subclassing
and a custom node factory? Conceptually, I think it's what I want to do based on the
tutorial, but I'm not sure how to begin.

I've committed a simple example of this to CVS that I coded up during a talk at Javapolis a couple of weeks ago. It creates an InnerElement subclass that adds getInnerXML and setInnerXML() methods. You'll find it in the nu.xom.samples.inner package. This is now described in the tutorial at

´╗┐Elliotte Rusty Harold elharo AT
XML in a Nutshell 3rd Edition Just Published!

Archive powered by MHonArc 2.6.24.

Top of Page