public class ValueNode<V>
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected java.util.Map<ElementSelector,ValueNode<V>> |
children |
protected ElementSelector |
elementSelector |
protected ValueNode<V> |
parent |
protected V |
value |
限定符 | 构造器和说明 |
---|---|
|
ValueNode() |
protected |
ValueNode(ElementSelector elementSelector,
ValueNode<V> parent) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
containsValue(V value) |
ValueNode<V> |
getChild(ElementSelector childSelector) |
ValueNode<V> |
getClosestParentWithValue() |
ElementSelector |
getElementSelector() |
ValueNode<V> |
getNodeForPath(NodePath nodePath) |
ValueNode<V> |
getParent() |
V |
getValue() |
boolean |
hasChild(ElementSelector childSelector) |
boolean |
hasValue() |
protected ValueNode<V> |
newNode(ElementSelector childSelector) |
void |
setValue(V value) |
protected final java.util.Map<ElementSelector,ValueNode<V>> children
protected final ElementSelector elementSelector
protected V value
public ValueNode()
protected ValueNode(ElementSelector elementSelector, ValueNode<V> parent)
public ElementSelector getElementSelector()
public ValueNode<V> getChild(ElementSelector childSelector)
protected ValueNode<V> newNode(ElementSelector childSelector)
public boolean hasChild(ElementSelector childSelector)
public boolean hasValue()
public boolean containsValue(V value)
public V getValue()
public void setValue(V value)