[jdom-commits] CVS update: jdom-contrib/src/java/org/jdom/contrib/ids

cvs at jools.org cvs at jools.org
Wed Feb 6 17:27:29 PST 2002


Date:	Wednesday February 6, 2002 @ 20:27
Author:	cvs

Update of /home/cvspublic/jdom-contrib/src/java/org/jdom/contrib/ids
In directory jools.org:/tmp/cvs-serv32118

Added Files:
	IdDocument.java IdElement.java IdFactory.java README.txt 
	package.html 
Log Message:
Adding a cool "ids" contrib package from Laurent Bihanic.  From the README:

This package demonstrates how to use the attribute type support provided
by JDOM to create JDOM documents that allow looking up elements using
the value of their ID attribute.
Note that for an attribute to be recognized as an ID, the XML document
must be associated to a DTD which defines the type of the attributes.

For detailed information, please refer to the package Javadoc documentation
or the file "package.html" in this directory.


The "doc-files" directory contains simple test cases that demonstrate how
to use the IdFactory to build an IdDocument and how to retrieve an element
by its ID from an IdDocument:

 - TestIds.java is a simple program that builds an IdDocument from the
   filename passed as first argument and looks up the element whose ID
   value matches the second argument.
   Usage: java TestIds <XML file> <ID>

 - testIds.xml is an example of XML file that can be used with the above
   sample.  It is associated to the DTD "testIds.dtd" which defines which
   attributes are IDs.

-jh-

===================================================================
File: no file IdDocument.java		Status: Needs Checkout

   Working revision:	1.1	Thu Feb  7 01:27:29 2002
   Repository revision:	1.1	/home/cvspublic/jdom-contrib/src/java/org/jdom/contrib/ids/IdDocument.java,v

   Existing Tags:
	No Tags Exist

===================================================================
File: no file IdElement.java		Status: Needs Checkout

   Working revision:	1.1	Thu Feb  7 01:27:29 2002
   Repository revision:	1.1	/home/cvspublic/jdom-contrib/src/java/org/jdom/contrib/ids/IdElement.java,v

   Existing Tags:
	No Tags Exist

===================================================================
File: no file IdFactory.java		Status: Needs Checkout

   Working revision:	1.1	Thu Feb  7 01:27:29 2002
   Repository revision:	1.1	/home/cvspublic/jdom-contrib/src/java/org/jdom/contrib/ids/IdFactory.java,v

   Existing Tags:
	No Tags Exist

===================================================================
File: README.txt       	Status: Up-to-date

   Working revision:	1.1	Thu Feb  7 01:27:29 2002
   Repository revision:	1.1	/home/cvspublic/jdom-contrib/src/java/org/jdom/contrib/ids/README.txt,v

   Existing Tags:
	No Tags Exist

===================================================================
File: package.html     	Status: Up-to-date

   Working revision:	1.1	Thu Feb  7 01:27:29 2002
   Repository revision:	1.1	/home/cvspublic/jdom-contrib/src/java/org/jdom/contrib/ids/package.html,v

   Existing Tags:
	No Tags Exist




More information about the jdom-commits mailing list