Package org.jdom.contrib.ids

Provides support for Documents allowing looking up elements using the value of their ID attribute.

See:
          Description

Class Summary
IdDocument IdDocument extends the default JDOM document to support looking up elements using their ID attribute.
IdElement A sub-class of the default JDOM Element to help keeping up-to-date the element lookup table maintained by IdDocument.
IdFactory The IdFactory extends the default JDOM factory to build documents that support looking up elements using their ID attribute.
 

Package org.jdom.contrib.ids Description

Provides support for Documents allowing looking up elements using the value of their ID attribute.

ID attributes are define in DTDs. Hence, the lookup features provided by this package are available only for XML documents associated to a DTD and only for the elements for which the DTD defines an ID attribute.

Please refer to IdFactory for details on how to use IdFactory within an application.

A sample application is provided here, with an example XML file and its DTD.



Copyright © 2004 Jason Hunter, Brett McLaughlin. All Rights Reserved.