Package org.dom4j.dom

Examples of org.dom4j.dom.DOMDocumentType


   * Get the structure as an XML Document.
   * @return XML Document.
   */
  public Document getDocument() {
    Document tmp = DocumentHelper.createDocument();
    DocumentType type = new DOMDocumentType();
    type.setElementName(DOCUMENT_ROOT);
    type.setSystemID(DOCUMENT_DTD);
   
    tmp.setDocType(type);
    Element questestinterop = tmp.addElement(DOCUMENT_ROOT);
    this.assessment.addToElement(questestinterop);
    return tmp;
View Full Code Here

TOP

Related Classes of org.dom4j.dom.DOMDocumentType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.