com.vaadin.sass.internal.tree
Class ListModifyNode
java.lang.Object
com.vaadin.sass.internal.tree.Node
com.vaadin.sass.internal.tree.ListModifyNode
- All Implemented Interfaces:
- IVariableNode, java.io.Serializable
- Direct Known Subclasses:
- ListAppendNode, ListContainsNode, ListRemoveNode
public abstract class ListModifyNode
- extends Node
- implements IVariableNode
- See Also:
- Serialized Form
|
Field Summary |
protected java.util.ArrayList<java.lang.String> |
list
|
protected java.util.ArrayList<java.lang.String> |
modify
|
protected java.lang.String |
separator
|
protected java.lang.String |
variable
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
list
protected java.util.ArrayList<java.lang.String> list
modify
protected java.util.ArrayList<java.lang.String> modify
separator
protected java.lang.String separator
variable
protected java.lang.String variable
ListModifyNode
public ListModifyNode()
getNewVariable
public java.lang.String getNewVariable()
getModifiedList
public VariableNode getModifiedList()
modifyList
protected abstract void modifyList(java.util.ArrayList<java.lang.String> newList)
checkSeparator
protected void checkSeparator(java.lang.String separator,
java.lang.String list)
populateList
protected void populateList(java.lang.String list,
java.lang.String modify)
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.