I - an interface that extends RuleIFpublic abstract class RuleCollection<I extends RuleIF> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected TreeMap<RuleKey,RuleList<I>> |
rules |
| Constructor and Description |
|---|
RuleCollection()
Creates a new RuleCollection.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addRule(RuleIF rule)
Attempts to add a single rule instance to the collection.
|
void |
addRules(Iterator<RuleIF> rules)
Attempts to add the rules to this collection.
|
String |
toString() |
public abstract void addRule(RuleIF rule)
rule - the rule to be added.public void addRules(Iterator<RuleIF> rules)
rules - the rules (usually from a schema)Copyright © 2023. All rights reserved.