@Immutable public class DescendantNodeJoinCondition extends Object implements JoinCondition, DescendantNodeJoinCondition
| Constructor and Description |
|---|
DescendantNodeJoinCondition(SelectorName ancestorSelectorName,
SelectorName descendantSelectorName)
Create a join condition that determines whether the node identified by the descendant selector is indeed a descendant of
the node identified by the ancestor 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.
|
SelectorName |
ancestorSelectorName()
Get the name of the selector for the ancestor node.
|
SelectorName |
descendantSelectorName()
Get the name of the selector for the descedant node.
|
boolean |
equals(Object obj) |
String |
getAncestorSelectorName() |
String |
getDescendantSelectorName() |
int |
hashCode() |
String |
toString() |
public DescendantNodeJoinCondition(SelectorName ancestorSelectorName, SelectorName descendantSelectorName)
ancestorSelectorName - the name of the ancestor selectordescendantSelectorName - the name of the descendant selectorpublic final SelectorName descendantSelectorName()
public final SelectorName ancestorSelectorName()
public String getAncestorSelectorName()
getAncestorSelectorName in interface DescendantNodeJoinConditionpublic String getDescendantSelectorName()
getDescendantSelectorName in interface DescendantNodeJoinConditionCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.