Package net.sf.saxon.trans
Class Rule
java.lang.Object
net.sf.saxon.trans.Rule
- All Implemented Interfaces:
Serializable
Rule: a template rule, or a strip-space rule used to support the implementation
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Rule
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
Copy a rule, including the chain of rules linked to it- Parameters:
r
-
-
-
Method Details
-
getSequence
public int getSequence() -
getAction
-
getNext
-
setNext
-
getPattern
-
getPrecedence
public int getPrecedence() -
getPriority
public double getPriority()
-