Overview | Package | Class | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.saxon.trans
Class Rule

    java.lang.Object
      net.sf.saxon.trans.Rule

All Implemented Interfaces:
  Serializable

    public final class Rule

extends Object
implements Serializable

Rule: a template rule, or a strip-space rule used to support the implementation

See Also:
  Serialized Form

Constructor Summary
`Rule(Pattern p, Object o, int prec, double prio, int seq)` Create a Rule
`Rule(Rule r)` Copy a rule, including the chain of rules linked to it

Method Summary
`Object` | `getAction()`
`Rule` | `getNext()`
`Pattern` | `getPattern()`
`int` | `getPrecedence()`
`double` | `getPriority()`
`int` | `getSequence()`
`void` | `setNext(Rule next)`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Rule

    public Rule(Pattern p,
                Object o,
                int prec,
                double prio,
                int seq)

  Create a Rule

  Parameters:
    `p` - the pattern that this rule matches
    `o` - the object invoked by this rule (usually a Template)
    `prec` - the precedence of the rule
    `prio` - the priority of the rule
    `seq` - 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` -

Method Detail

### getSequence

    public int getSequence()

### getAction

    public Object getAction()

### getNext

    public Rule getNext()

### setNext

    public void setNext(Rule next)

### getPattern

    public Pattern getPattern()

### getPrecedence

    public int getPrecedence()

### getPriority

    public double getPriority()

Overview | Package | Class | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (C) Michael H. Kay. All rights reserved.