Home » tapestry-src-5.0.19 » org.apache.tapestry5.dom » [javadoc | source]
public final class: Document [javadoc | source]
The root node of a DOM.
 public Document() 
 public Document(MarkupModel model) 
 public Document(MarkupModel model,
    String encoding) 
Method from org.apache.tapestry5.dom.Document Summary:
dtd,   find,   getDocument,   getElementById,   getMarkupModel,   getNamespaceURIToPrefix,   getRootElement,   newRootElement,   newRootElement,   toMarkup,   toString
Methods from org.apache.tapestry5.dom.Node:
addChild,   asElement,   clearChildren,   getChildMarkup,   getChildren,   getContainer,   getDocument,   getNamespaceURIToPrefix,   hasChildren,   indexOfNode,   insertChildAt,   moveAfter,   moveBefore,   moveToBottom,   moveToTop,   remove,   remove,   toMarkup,   toMarkup,   toString,   wrap,   writeChildMarkup
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tapestry5.dom.Document Detail:
 public  void dtd(String name,
    String publicId,
    String systemId) 
 public Element find(String path) 
    Finds an element based on a path of element names.
 public Document getDocument() 
 public Element getElementById(String id) 
    Tries to find an element in this document whose id is specified.
 public MarkupModel getMarkupModel() 
 protected Map<String, String> getNamespaceURIToPrefix() 
 public Element getRootElement() 
 public Element newRootElement(String name) 
    Creates the root element for this document, replacing any previous root element.
 public Element newRootElement(String namespace,
    String name) 
    Creates a new root element within a namespace.
 public  void toMarkup(Document document,
    PrintWriter writer,
    Map<String, String> namespaceURIToPrefix) 
 public String toString()