com.vaadin.sass.internal.tree
Class RuleNode
java.lang.Object
com.vaadin.sass.internal.tree.Node
com.vaadin.sass.internal.tree.RuleNode
- All Implemented Interfaces:
- IVariableNode, java.io.Serializable
public class RuleNode
- extends Node
- implements IVariableNode
- See Also:
- Serialized Form
|
Constructor Summary |
RuleNode(java.lang.String variable,
LexicalUnitImpl value,
boolean important,
java.lang.String comment)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RuleNode
public RuleNode(java.lang.String variable,
LexicalUnitImpl value,
boolean important,
java.lang.String comment)
getVariable
public java.lang.String getVariable()
setVariable
public void setVariable(java.lang.String variable)
getValue
public LexicalUnitImpl getValue()
setValue
public void setValue(LexicalUnitImpl value)
toString
public java.lang.String toString()
- Overrides:
toString in class Node
isImportant
public boolean isImportant()
setImportant
public void setImportant(boolean important)
getComment
public java.lang.String getComment()
setComment
public void setComment(java.lang.String comment)
replaceVariables
public void replaceVariables(java.util.ArrayList<VariableNode> variables)
- Specified by:
replaceVariables in interface IVariableNode
traverse
public void traverse()
- Description copied from class:
Node
- 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.
- Specified by:
traverse in class Node
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.