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

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

Modified Files:
	AbstractDOMAdapter.java DOMAdapter.java 
Added Files:
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.


File: JAXPDOMAdapter.java	Status: Up-to-date

   Working revision:	1.1	Wed Mar  7 07:58:49 2001
   Repository revision:	1.1	/home/cvspublic/jdom/src/java/org/jdom/adapters/JAXPDOMAdapter.java,v

   Existing Tags:
	No Tags Exist

File: AbstractDOMAdapter.java	Status: Up-to-date

   Working revision:	1.6	Wed Mar  7 07:58:49 2001
   Repository revision:	1.6	/home/cvspublic/jdom/src/java/org/jdom/adapters/AbstractDOMAdapter.java,v

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

File: DOMAdapter.java  	Status: Up-to-date

   Working revision:	1.7	Wed Mar  7 07:58:49 2001
   Repository revision:	1.7	/home/cvspublic/jdom/src/java/org/jdom/adapters/DOMAdapter.java,v

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

More information about the jdom-commits mailing list