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

jhunter at cvs.jdom.org jhunter at cvs.jdom.org
Mon Dec 10 23:32:05 PST 2001


Date:	Tuesday December 11, 2001 @ 7:32
Author:	jhunter

Update of /home/cvspublic/jdom/src/java/org/jdom/adapters
In directory www.nmemonix.com:/tmp/cvs-serv28237/adapters

Modified Files:
	AbstractDOMAdapter.java CrimsonDOMAdapter.java DOMAdapter.java 
	JAXPDOMAdapter.java OracleV1DOMAdapter.java 
	OracleV2DOMAdapter.java ProjectXDOMAdapter.java 
	XML4JDOMAdapter.java XercesDOMAdapter.java 
Log Message:
This is the long-awaited check-in that adds FilterList functionality 
to JDOM!  Now instead of using the slow and broken PartialList to 
make lists live, we'll be using a faster and smarter FilterList 
mechanism.

This check-in also integrates the Text class that has been 
developed but previously not actually used.

It's a major change and has taken a long time to design, develop, 
and test in the jdom-wip workspace.  Thanks to Alex Rosen, Bradley 
S. Huffman, and Jools Enticknap for doing all the coding work.  
The code I'm integrating here is absolutely beautiful!

Added classes:
  AttributeFilter
  DocumentContentFilter
  ElementContentFilter
  ElementFilter
  Filter
  FilterList

Removed classes:
  PartialList

Integrated classes:
  Text

Added methods:
  CDATA.getTextTrim()
  CDATA.getTextNormalize()
  CDATA.append(String)
  CDATA.append(CDATA)
  CDATA.getParent()
  CDATA.getDocument()
  CDATA.detach()
  Element.addContent(Text)
  Element.removeContent(Text)

This check-in also removes almost all the methods that were 
deprecated in beta7.  If you were getting deprecation warnings 
before, they're going to be errors now.  Heads up.

This isn't a simple change, so for those who don't want to take the 
leap just yet, the CVS tag "jdom_prefilter" marks the codebase before 
this check-in.  I hope everyone tries out the new code though.  It
should be faster and consume fewer resources to traverse a tree, and
all the live list methods are implemented now too!

Please report your experiences to the jdom-interest list.

-jh-

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

   Working revision:	1.11	Tue Dec 11 07:32:04 2001
   Repository revision:	1.11	/home/cvspublic/jdom/src/java/org/jdom/adapters/AbstractDOMAdapter.java,v

   Existing Tags:
	jdom_prefilter           	(revision: 1.10)
	jdom_1_0_b7              	(revision: 1.10)
	jdom_1_0_b6              	(revision: 1.3)
	start                    	(revision: 1.1.1.1)
	jdom                     	(branch: 1.1.1)

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

   Working revision:	1.7	Tue Dec 11 07:32:04 2001
   Repository revision:	1.7	/home/cvspublic/jdom/src/java/org/jdom/adapters/CrimsonDOMAdapter.java,v

   Existing Tags:
	jdom_prefilter           	(revision: 1.6)
	jdom_1_0_b7              	(revision: 1.6)
	jdom_1_0_b6              	(revision: 1.2)

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

   Working revision:	1.12	Tue Dec 11 07:32:04 2001
   Repository revision:	1.12	/home/cvspublic/jdom/src/java/org/jdom/adapters/DOMAdapter.java,v

   Existing Tags:
	jdom_prefilter           	(revision: 1.11)
	jdom_1_0_b7              	(revision: 1.11)
	jdom_1_0_b6              	(revision: 1.4)
	start                    	(revision: 1.1.1.1)
	jdom                     	(branch: 1.1.1)

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

   Working revision:	1.4	Tue Dec 11 07:32:04 2001
   Repository revision:	1.4	/home/cvspublic/jdom/src/java/org/jdom/adapters/JAXPDOMAdapter.java,v

   Existing Tags:
	jdom_prefilter           	(revision: 1.3)
	jdom_1_0_b7              	(revision: 1.3)

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

   Working revision:	1.10	Tue Dec 11 07:32:04 2001
   Repository revision:	1.10	/home/cvspublic/jdom/src/java/org/jdom/adapters/OracleV1DOMAdapter.java,v

   Existing Tags:
	jdom_prefilter           	(revision: 1.9)
	jdom_1_0_b7              	(revision: 1.9)
	jdom_1_0_b6              	(revision: 1.5)
	start                    	(revision: 1.1.1.1)
	jdom                     	(branch: 1.1.1)

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

   Working revision:	1.8	Tue Dec 11 07:32:04 2001
   Repository revision:	1.8	/home/cvspublic/jdom/src/java/org/jdom/adapters/OracleV2DOMAdapter.java,v

   Existing Tags:
	jdom_prefilter           	(revision: 1.7)
	jdom_1_0_b7              	(revision: 1.7)
	jdom_1_0_b6              	(revision: 1.3)
	start                    	(revision: 1.1.1.1)
	jdom                     	(branch: 1.1.1)

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

   Working revision:	1.10	Tue Dec 11 07:32:04 2001
   Repository revision:	1.10	/home/cvspublic/jdom/src/java/org/jdom/adapters/ProjectXDOMAdapter.java,v

   Existing Tags:
	jdom_prefilter           	(revision: 1.9)
	jdom_1_0_b7              	(revision: 1.9)
	jdom_1_0_b6              	(revision: 1.5)
	start                    	(revision: 1.1.1.1)
	jdom                     	(branch: 1.1.1)

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

   Working revision:	1.8	Tue Dec 11 07:32:04 2001
   Repository revision:	1.8	/home/cvspublic/jdom/src/java/org/jdom/adapters/XML4JDOMAdapter.java,v

   Existing Tags:
	jdom_prefilter           	(revision: 1.7)
	jdom_1_0_b7              	(revision: 1.7)
	jdom_1_0_b6              	(revision: 1.3)
	start                    	(revision: 1.1.1.1)
	jdom                     	(branch: 1.1.1)

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

   Working revision:	1.9	Tue Dec 11 07:32:04 2001
   Repository revision:	1.9	/home/cvspublic/jdom/src/java/org/jdom/adapters/XercesDOMAdapter.java,v

   Existing Tags:
	jdom_prefilter           	(revision: 1.8)
	jdom_1_0_b7              	(revision: 1.8)
	jdom_1_0_b6              	(revision: 1.4)
	start                    	(revision: 1.1.1.1)
	jdom                     	(branch: 1.1.1)




More information about the jdom-commits mailing list