Package net.sf.saxon.trans.rules
Class RuleSearchState
java.lang.Object
net.sf.saxon.trans.rules.RuleSearchState
- Direct Known Subclasses:
PreconditionMatcher
A simple class for holding stateful details of a rule search operation
This is a dummy implementation for Saxon-HE which does not optimize searching a rule chain.
It is subclassed for Saxon-EE.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
checkPreconditions
(Rule rule) Use this search state to check whether the preconditions for a particular rule are satisfiedstatic RuleSearchState
-
Constructor Details
-
Method Details
-
getInstance
-
checkPreconditions
Use this search state to check whether the preconditions for a particular rule are satisfied- Parameters:
rule
- the rule being tested- Returns:
- true if all preconditions are satisfied; in the HE implementation, there are no preconditions, so this is always true.
- Throws:
XPathException
- (in a subclass) if evaluation of preconditions fails.
-