public class RuleChain
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.Object |
optimizationData |
Constructor and Description |
---|
RuleChain()
Create an empty rule chain
|
RuleChain(Rule head)
Create an rule chain with a give rule as the head of the chain
|
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Get the length of the rule chain
|
Rule |
head()
Get the first rule in the chain, or null if the chain is empty
|
void |
setHead(Rule head)
Set the first rule in the chain, or null if the chain is empty
|
public RuleChain()
public RuleChain(Rule head)
head
- the head of a chain of rulespublic Rule head()
public void setHead(Rule head)
head
- the first rule in the chain, or null if emptypublic int getLength()
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.