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

bmclaugh at cvs.jdom.org bmclaugh at cvs.jdom.org
Thu Aug 2 16:56:26 PDT 2001


Date:	Friday August 3, 2001 @ 0:56
Author:	bmclaugh

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

Modified Files:
	SAXOutputter.java 
Log Message:
This is a change to SAXOutputter that does several things. First, it allows the
  developer to set an org.xml.sax.ext.LexicalHandler on the SAXOutputter, as
  shown here:

Method 1:
  SAXOutputter outputter = new SAXOutputter(contentHandler, errorHandler,
                                            dtdHandler, entityResolver,
                                            lexicalHandler);

where each argument is the instance of the class to have output fired to.

Method 2:
  SAXOutputter outputter = new SAXOutputter(contentHandler);
  outputter.setLexicalHandler(lexicalHandler);

where each argument is the instance of the class to have output fired to.

Additionally, I've implemented behavior that will cause comments in the JDOM
  Document to fire the comment() method on the LexicalHandler instance set, if
  it exists. Note, however, that I have NOT yet added any other behavior related
  to LexicalHandler.


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

   Working revision:	1.12	Thu Aug  2 23:56:26 2001
   Repository revision:	1.12	/home/cvspublic/jdom/src/java/org/jdom/output/SAXOutputter.java,v

   Existing Tags:
	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)




More information about the jdom-commits mailing list