[jdom-commits] CVS update: jdom/src/java/org/jdom/output
jhunter at cvs.jdom.org
jhunter at cvs.jdom.org
Fri Jun 22 00:58:51 PDT 2001
Date: Friday June 22, 2001 @ 8:58
Author: jhunter
Update of /home/cvspublic/jdom/src/java/org/jdom/output
In directory www.nmemonix.com:/tmp/cvs-serv14793
Modified Files:
XMLOutputter.java
Log Message:
Fixed issue where XMLOutputter has protected methods dependent on
NamespaceStack, as pointed out by elharo:
http://lists.denveronline.net/lists/jdom-interest/2000-October/003538.html
Alex Chaffee came up with a slick solution:
http://www.servlets.com/archive/servlet/ReadMsg?msgId=111775
Basically, you expose an inner class:
public class XMLOutputter {
...
protected class NamespaceStack extends org.jdom.output.NamespaceStack
{
}
}
I'm not sure this is significantly better than having NamespaceStack
public. Both approaches allow JDOM users to depend on the NamespaceStack
API and functionality.
-jh-
===================================================================
File: no file XMLOutputter.java Status: Needs Checkout
Working revision: 1.58 Fri Jun 22 07:58:51 2001
Repository revision: 1.58 /home/cvspublic/jdom/src/java/org/jdom/output/XMLOutputter.java,v
Existing Tags:
start (revision: 1.1.1.1)
jdom (branch: 1.1.1)
More information about the jdom-commits
mailing list