com.vaadin.sass.internal.tree
Class Node
java.lang.Object
com.vaadin.sass.internal.tree.Node
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- BlockNode, CommentNode, ContentNode, EachDefNode, ElseNode, ExtendNode, FontFaceNode, ForNode, FunctionNode, IfElseDefNode, IfNode, ImportNode, KeyframeSelectorNode, KeyframesNode, ListModifyNode, MediaNode, MicrosoftRuleNode, MixinDefNode, MixinNode, NestPropertiesNode, RuleNode, ScssStylesheet, SimpleNode, VariableNode, WhileNode
public abstract class Node
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
|
Constructor Summary |
Node()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
children
protected java.util.ArrayList<Node> children
parentNode
protected Node parentNode
Node
public Node()
appendAll
public void appendAll(java.util.Collection<Node> nodes)
appendChildrenAfter
public void appendChildrenAfter(java.util.Collection<Node> childrenNodes,
Node after)
appendChild
public void appendChild(Node node)
appendChild
public void appendChild(Node node,
Node after)
removeChild
public void removeChild(Node node)
getChildren
public java.util.ArrayList<Node> getChildren()
setChildren
public void setChildren(java.util.ArrayList<Node> children)
hasChildren
public boolean hasChildren()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
traverse
public abstract void traverse()
- Method for manipulating the data contained within the
Node.
Traversing a node is allowed to modify the node, replace it with one or
more nodes at the same or later position in its parent and modify the
children of the node, but not modify or remove preceding nodes in its
parent.
getParentNode
public Node getParentNode()
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.