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

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

Modified Files:
	DOMOutputter.java NamespaceStack.java SAXOutputter.java 
	XMLOutputter.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 DOMOutputter.java		Status: Needs Checkout

   Working revision:	1.26	Tue Dec 11 07:32:05 2001
   Repository revision:	1.26	/home/cvspublic/jdom/src/java/org/jdom/output/DOMOutputter.java,v

   Existing Tags:
	jdom_prefilter           	(revision: 1.25)
	jdom_1_0_b7              	(revision: 1.25)
	jdom_1_0_b6              	(revision: 1.16)
	start                    	(revision: 1.1.1.1)
	jdom                     	(branch: 1.1.1)

===================================================================
File: no file NamespaceStack.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/output/NamespaceStack.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 SAXOutputter.java		Status: Needs Checkout

   Working revision:	1.17	Tue Dec 11 07:32:05 2001
   Repository revision:	1.17	/home/cvspublic/jdom/src/java/org/jdom/output/SAXOutputter.java,v

   Existing Tags:
	jdom_prefilter           	(revision: 1.16)
	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 XMLOutputter.java		Status: Needs Checkout

   Working revision:	1.67	Tue Dec 11 07:32:05 2001
   Repository revision:	1.67	/home/cvspublic/jdom/src/java/org/jdom/output/XMLOutputter.java,v

   Existing Tags:
	jdom_prefilter           	(revision: 1.66)
	jdom_1_0_b7              	(revision: 1.62)
	jdom_1_0_b6              	(revision: 1.35)
	start                    	(revision: 1.1.1.1)
	jdom                     	(branch: 1.1.1)




More information about the jdom-commits mailing list