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

jhunter at cvs.jdom.org jhunter at cvs.jdom.org
Tue Mar 6 23:58:50 PST 2001


Date:	Wednesday March 7, 2001 @ 7:58
Author:	jhunter

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

Modified Files:
	DOMBuilder.java 
Log Message:
Refactored the JAXP model for dealing with DOM.  We now have a new class
JAXPDOMAdapter that contains all logic for interacting with JAXP.  This
greatly simplifies DOMBuilder and DOMOutputter and allows third parties
to use JAXP easily without stealing code from these classes.

As part of this change DOMAdapter methods now may throw Exception instead of
IOException.  The bad news: This is an incompatible change and there's no
way to avoid it.  The good news: adapter classes aren't for general use so 
this shouldn't bother anyone using the standard JDOM classes.  DOMBuilder
and DOMOutputter have the same API as always.

This code works on all my JDOM -> DOM -> JDOM tests with Xerces 1.2, Xerces 
1.3, and Crimson with JAXP 1.1.  Course, there may be some end conditions I 
haven't caught.  This was a fair amt of refactoring.

-jh-

===================================================================
File: DOMBuilder.java  	Status: Up-to-date

   Working revision:	1.26	Wed Mar  7 07:58:49 2001
   Repository revision:	1.26	/home/cvspublic/jdom/src/java/org/jdom/input/DOMBuilder.java,v

   Existing Tags:
	start                    	(revision: 1.1.1.1)
	jdom                     	(branch: 1.1.1)




More information about the jdom-commits mailing list