public class ComparisonPredicateIndex.AncestorQualifiedRuleCase extends ComparisonPredicateIndex.RuleCase
Modifier and Type | Field and Description |
---|---|
Pattern |
upperPattern |
int |
upwardsAxis |
rule
Constructor and Description |
---|
ComparisonPredicateIndex.AncestorQualifiedRuleCase(Rule rule) |
Modifier and Type | Method and Description |
---|---|
void |
explain(ExpressionPresenter out) |
boolean |
matches(Item item,
XPathContext context)
Does this rule match the item?
This assumes that the *[exp=val] section has already been satisfied and tests any additional
constraints.
|
public Pattern upperPattern
public int upwardsAxis
public ComparisonPredicateIndex.AncestorQualifiedRuleCase(Rule rule)
public void explain(ExpressionPresenter out)
explain
in class ComparisonPredicateIndex.RuleCase
public boolean matches(Item item, XPathContext context) throws XPathException
ComparisonPredicateIndex.RuleCase
matches
in class ComparisonPredicateIndex.RuleCase
item
- item to be testedcontext
- dynamic contextXPathException
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.