[jdom-interest] Using my own Element class ?

Kenworthy, Edward edward.kenworthy at exchange.co.uk
Thu Jun 7 23:38:18 PDT 2001

I do exactly this.

I have a class that wraps Element *and* a class the wraps Document. The
class wrapping Document instantiates my element-wrapper class as necessary.

-----Original Message-----
From: Jiba [mailto:a11w at SoftHome.net]
Sent: 06 June 2001 17:51
To: jdom-interest at jdom.org
Subject: [jdom-interest] Using my own Element class ?

Hi everyone,

I really think that an XML parser with Java-friendly interface is a good
idea !

Is it possible to create a DO(O:-)M-like tree with JDOM, but with my own
Element class (that, obviously, extends the JDOM one) ?

This can be a good way to store application-specific data for each XML
element (because using a map with DOM is not the best...)

Thank you !


To control your jdom-interest membership:

More information about the jdom-interest mailing list