Package net.sf.saxon.trans
Class Rule
- java.lang.Object
-
- net.sf.saxon.trans.Rule
-
- All Implemented Interfaces:
java.io.Serializable
public final class Rule extends java.lang.Object implements java.io.Serializable
Rule: a template rule, or a strip-space rule used to support the implementation- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getAction()
Rule
getNext()
Pattern
getPattern()
int
getPrecedence()
double
getPriority()
int
getSequence()
void
setNext(Rule next)
-
-
-
Constructor Detail
-
Rule
public Rule(Pattern p, java.lang.Object o, int prec, double prio, int seq)
Create a Rule- Parameters:
p
- the pattern that this rule matcheso
- the object invoked by this rule (usually a Template)prec
- the precedence of the ruleprio
- the priority of the ruleseq
- a sequence number for ordering of rules
-
Rule
public Rule(Rule r)
Copy a rule, including the chain of rules linked to it- Parameters:
r
- the rule to be copied
-
-