[jdom-commits] CVS update: jdom/src/java/org/jdom
    jhunter at cvs.jdom.org 
    jhunter at cvs.jdom.org
       
    Wed Mar  7 00:50:20 PST 2001
    
    
  
Date:	Wednesday March 7, 2001 @ 8:50
Author:	jhunter
Update of /home/cvspublic/jdom/src/java/org/jdom
In directory www.nmemonix.com:/tmp/cvs-serv3405
Modified Files:
	Document.java 
Log Message:
Added two new Document constructors:
Document(List)
Document(List, DocType) 
This allows a document to be created from a List of content.  Should make
it easier for people to create a document with comments or PIs ahead of
the root element.
Also added a check here and in setMixedContent() so that only one elt is
allowed in the list as the root.
This has been a TODO item for some time.
-jh-
===================================================================
File: Document.java    	Status: Up-to-date
   Working revision:	1.27	Wed Mar  7 08:50:19 2001
   Repository revision:	1.27	/home/cvspublic/jdom/src/java/org/jdom/Document.java,v
   Existing Tags:
	start                    	(revision: 1.1.1.1)
	jdom                     	(branch: 1.1.1)
    
    
More information about the jdom-commits
mailing list