public class RuleEE extends Rule
action, minImportPrecedence, next, part, pattern, precedence, priority, sequence
Constructor and Description |
---|
RuleEE() |
RuleEE(Pattern p,
RuleTarget o,
int prec,
int min,
double prio,
int seq,
int part) |
Modifier and Type | Method and Description |
---|---|
void |
addPrecondition(Precondition condition)
Add a precondition for this rule
|
boolean |
checkPreconditions(PreconditionMatcher state)
Check that all preconditions for this rule are satisfied
|
Rule |
copy(boolean copyChain) |
void |
exportOtherProperties(ExpressionPresenter out)
Add other exported properties as required
|
java.util.List<Precondition> |
getPreconditions()
Get the preconditions for this rule
|
compareComputedRank, compareRank, copyFrom, export, getAction, getMinImportPrecedence, getNext, getPartNumber, getPattern, getPrecedence, getPriority, getRank, getSequence, isAlwaysMatches, matches, setAction, setAlwaysMatches, setNext, setPattern, setRank
public RuleEE()
public RuleEE(Pattern p, RuleTarget o, int prec, int min, double prio, int seq, int part)
public java.util.List<Precondition> getPreconditions()
public void addPrecondition(Precondition condition)
condition
- a precondition that must be satisfied if this rule is to matchpublic boolean checkPreconditions(PreconditionMatcher state) throws XPathException
state
- holds the state for matching all rules on a rule-chain, including values
of common subexpressionsXPathException
- if evaluation of a precondition failspublic void exportOtherProperties(ExpressionPresenter out) throws XPathException
Rule
exportOtherProperties
in class Rule
out
- the export destinationXPathException
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.