public class ComparisonPredicateIndex.AncestorQualifiedRuleCase extends ComparisonPredicateIndex.RuleCase
Modifier and Type | Field and Description |
---|---|
Pattern |
upperPattern |
int |
upwardsAxis |
rule
Constructor and Description |
---|
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 AncestorQualifiedRuleCase(Rule rule)
public void explain(ExpressionPresenter out) throws XPathException
explain
in class ComparisonPredicateIndex.RuleCase
XPathException
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-2017 Saxonica Limited. All rights reserved.