public class ComparisonPredicateIndex.RuleCase extends Object
Modifier and Type | Field and Description |
---|---|
ObjectValue<Rule> |
rule |
Constructor and Description |
---|
ComparisonPredicateIndex.RuleCase(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 ObjectValue<Rule> rule
public ComparisonPredicateIndex.RuleCase(Rule rule)
public boolean matches(Item item, XPathContext context) throws XPathException
item
- item to be testedcontext
- dynamic contextXPathException
public void explain(ExpressionPresenter out)
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.