Skip to Content.
Sympa Menu

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

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: "Kevin Y. Kim (Lists)" <kykim_lists AT mac.com>
  • Cc: xom-interest AT lists.ibiblio.org
  • 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

http://www.xom.nu/tutorial.xhtml#d0e1424

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




Archive powered by MHonArc 2.6.24.

Top of Page