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

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/input
In directory www.nmemonix.com:/tmp/cvs-serv28237/input

Modified Files:
	BuilderErrorHandler.java DOMBuilder.java 
	DefaultJDOMFactory.java JDOMFactory.java SAXBuilder.java 
	SAXHandler.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 BuilderErrorHandler.java		Status: Needs Checkout

   Working revision:	1.6	Tue Dec 11 07:32:05 2001
   Repository revision:	1.6	/home/cvspublic/jdom/src/java/org/jdom/input/BuilderErrorHandler.java,v

   Existing Tags:
	jdom_prefilter           	(revision: 1.5)
	jdom_1_0_b7              	(revision: 1.5)
	jdom_1_0_b6              	(revision: 1.1)

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

   Working revision:	1.38	Tue Dec 11 07:32:05 2001
   Repository revision:	1.38	/home/cvspublic/jdom/src/java/org/jdom/input/DOMBuilder.java,v

   Existing Tags:
	jdom_prefilter           	(revision: 1.37)
	jdom_1_0_b7              	(revision: 1.36)
	jdom_1_0_b6              	(revision: 1.24)
	start                    	(revision: 1.1.1.1)
	jdom                     	(branch: 1.1.1)

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

   Working revision:	1.4	Tue Dec 11 07:32:05 2001
   Repository revision:	1.4	/home/cvspublic/jdom/src/java/org/jdom/input/DefaultJDOMFactory.java,v

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

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

   Working revision:	1.4	Tue Dec 11 07:32:05 2001
   Repository revision:	1.4	/home/cvspublic/jdom/src/java/org/jdom/input/JDOMFactory.java,v

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

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

   Working revision:	1.60	Tue Dec 11 07:32:05 2001
   Repository revision:	1.60	/home/cvspublic/jdom/src/java/org/jdom/input/SAXBuilder.java,v

   Existing Tags:
	jdom_prefilter           	(revision: 1.59)
	jdom_1_0_b7              	(revision: 1.53)
	jdom_1_0_b6              	(revision: 1.34)
	start                    	(revision: 1.1.1.1)
	jdom                     	(branch: 1.1.1)

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

   Working revision:	1.28	Tue Dec 11 07:32:05 2001
   Repository revision:	1.28	/home/cvspublic/jdom/src/java/org/jdom/input/SAXHandler.java,v

   Existing Tags:
	jdom_prefilter           	(revision: 1.27)
	jdom_1_0_b7              	(revision: 1.18)




More information about the jdom-commits mailing list