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

cvs at jools.org cvs at jools.org
Thu Feb 14 01:16:38 PST 2002


Date:	Thursday February 14, 2002 @ 4:16
Author:	cvs

Update of /home/cvspublic/jdom/src/java/org/jdom/adapters
In directory jools.org:/tmp/cvs-serv20531

Modified Files:
	AbstractDOMAdapter.java 
Log Message:
Added the ability for DOMOutputter to set the internal DTD subset on 
DOM implementations which provide that ability, specifically Xerces 1.4.4+.
This is accomplished via a new method in AbstractDOMAdapter:

protected void setInternalSubset(DocumentType dt, String s)

Which by default uses reflection to call setInternalSubset() on the 
DocumentType.  That's not a standard DOM ability, but some parsers allow 
it, so we try to leverage it using reflection.  If another parser provides 
the ability a different way, the method can be overridden.

-jh-

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

   Working revision:	1.13	Thu Feb 14 09:16:38 2002
   Repository revision:	1.13	/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)




More information about the jdom-commits mailing list