@Immutable public class NodePath extends Object implements DynamicOperand, NodePath
Comparison constraint.| Constructor and Description |
|---|
NodePath(SelectorName selectorName)
Create a dynamic operand that evaluates to the path of the node identified by the selector.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor visitor)
Accept the supplied visitor, which should call back to the visitor to complete the double-dispatch operation.
|
boolean |
equals(Object obj) |
String |
getSelectorName()
Get the selector symbol upon which this operand applies.
|
int |
hashCode() |
SelectorName |
selectorName()
Get the selector symbol upon which this operand applies.
|
Set<SelectorName> |
selectorNames()
Get the selector symbols to which this operand applies.
|
String |
toString() |
public NodePath(SelectorName selectorName)
selectorName - the name of the selectorIllegalArgumentException - if the selector name or property name are nullpublic SelectorName selectorName()
public String getSelectorName()
NodePathgetSelectorName in interface NodePathpublic Set<SelectorName> selectorNames()
DynamicOperandCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.