[jdom-commits] CVS Update: jdom/src/java/org/jdom/output
nobody
nobody at chimbo.servlets.com
Wed Apr 30 18:45:25 PDT 2003
****************************************
Date: Wed Apr 30, 2003 @19:45:25 MDT
Author:
Update of /home/cvs/jdom/src/java/org/jdom/output
In directory chimbo:/tmp/cvs-serv19211/src/java/org/jdom/output
Modified Files:
XMLOutputter.java
Log Message:
Changed the Document's DocType storage so it's part of the ContentList
now and has a location that can be preserved. This helps with round
tripping.
The getDocType() and setDocType() methods remain for convenience but
just operate based on searches through the ContentList.
Deprecated the Document(List, DocType) constructor because it doesn't
make sense if the DocType should be part of the content list rather than
separate.
Added Document.addContent(DocType) which appends the DocType to the
ContentList. setDocType() does an insert at the head which is what you
normally would want, but builders need to use addContent() so it's an
append into the right location.
I think I got all the parentage checks and manipulations correct, but
it's gotten extremely complicated and dispersed.
Removed this item from the TODO.
-jh-
===================================================================
File: no file XMLOutputter.java Status: Needs Checkout
Working revision: 1.93 Thu May 1 01:45:25 2003
Repository revision: 1.93 /home/cvs/jdom/src/java/org/jdom/output/XMLOutputter.java,v
Existing Tags:
jdom_1_0_b9 (revision: 1.91)
jdom_1_0_b8 (revision: 1.76)
jdom_prefilter (revision: 1.66)
jdom_1_0_b7 (revision: 1.62)
jdom_1_0_b6 (revision: 1.35)
start (revision: 1.1.1.1)
jdom (branch: 1.1.1)
More information about the jdom-commits
mailing list