Skip to Content.
Sympa Menu

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

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: "Kevin Y. Kim (Lists)" <kykim_lists AT mac.com>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: [XOM-interest] Element subclassing example
  • Date: Wed, 30 Nov 2005 14:20:15 -0500

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.

Basically, I am using Xom to parse out XML information and create some custom objects.
It seems to me that I could save some work by merging my custom objects with an Element
subclass. I think that once I have my subclassed Elements, I'll just detach() them
and pass them around my application. It would probably make the output XML easier too.

Thanks,
-kevin





Archive powered by MHonArc 2.6.24.

Top of Page