|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.sass.internal.tree.Node
com.vaadin.sass.internal.tree.SimpleNode
public class SimpleNode
A simple BlockNode where input text equals output. Note : ignores any possible children so only use it when you are sure no child nodes will be applied.
| Field Summary |
|---|
| Fields inherited from class com.vaadin.sass.internal.tree.Node |
|---|
children, parentNode |
| Constructor Summary | |
|---|---|
SimpleNode(java.lang.String text)
|
|
| Method Summary | |
|---|---|
void |
replaceVariables(java.util.ArrayList<VariableNode> variables)
|
java.lang.String |
toString()
|
void |
traverse()
Method for manipulating the data contained within the Node. |
| Methods inherited from class com.vaadin.sass.internal.tree.Node |
|---|
appendAll, appendChild, appendChild, appendChildrenAfter, getChildren, getParentNode, hasChildren, removeChild, setChildren |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleNode(java.lang.String text)
| Method Detail |
|---|
public java.lang.String toString()
toString in class Nodepublic void replaceVariables(java.util.ArrayList<VariableNode> variables)
replaceVariables in interface IVariableNodepublic void traverse()
NodeNode.
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.
traverse in class Node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||