| java.lang.Object org.apache.tapestry.dom.Node
All known Subclasses: org.apache.tapestry.dom.Raw, org.apache.tapestry.dom.Document, org.apache.tapestry.dom.Comment, org.apache.tapestry.dom.Text, org.apache.tapestry.dom.Element,
Node | abstract public class Node (Code) | | A node within the DOM.
|
Constructor Summary | |
protected | Node(Node container) Creates a new node, setting its container to the provided value. |
Node | protected Node(Node container)(Code) | | Creates a new node, setting its container to the provided value. Container may also be null,
but that is only used for Document nodes (the topmost node of a DOM).
Parameters: container - |
asElement | Element asElement()(Code) | | Returns the node as an
Element , if it is an element. Returns null otherwise.
|
hasChildren | boolean hasChildren()(Code) | | |
insertChildAt | void insertChildAt(int index, Node child)(Code) | | |
toMarkup | abstract public void toMarkup(PrintWriter writer)(Code) | | Writes the markup for this node to the writer.
|
|
|