public abstract class HierarchyConstraint extends SelectorBasedConstraint
HierarchyConstraint is a base class for hierarchy related
 constraints.| Constructor and Description | 
|---|
HierarchyConstraint(String path,
                   SelectorImpl selector)
Creates a new hierarchy constraint with the given base
  
path. | 
| Modifier and Type | Method and Description | 
|---|---|
protected NodeId | 
getBaseNodeId(EvaluationContext context)
Returns the id of the base node or  
null if there is no node
 at the base path. | 
getSelector, getSelectorIndexclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitevaluatepublic HierarchyConstraint(String path, SelectorImpl selector)
path.path - the base path.selector - the selector this constraint is placed on.protected final NodeId getBaseNodeId(EvaluationContext context)
null if there is no node
 at the base path.context - the evaluation context.null if it doesn't exist.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.