[jdom-interest] Subclassing Element/Attribute
Elliotte Rusty Harold
elharo at metalab.unc.edu
Fri Jul 19 08:53:53 PDT 2002
>Hi,
>
>Could someone please post an example of how to get subclasses of
>Element and Attribute instantiated instead of the JDOM versions?
>
You need to write your own JDOMFactory subclass and pass that to the
SAXHandler. I don't have any examples handy though.
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| XML in a Nutshell, 2nd Edition (O'Reilly, 2002) |
| http://www.cafeconleche.org/books/xian2/ |
| http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+
More information about the jdom-interest
mailing list