|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.writersforge.catalan.transform.rule.RuleCollection
A composite Rule that manages a collection of other Rule objects. When this Rule is invoked, it will process all of its child Rule objects, rather than processing any content of its own.
| Constructor Summary | |
RuleCollection()
|
|
| Method Summary | |
void |
addRule(Rule rule)
Adds another child Rule to the collection. |
void |
clearRules()
Removes all Rule objects from this collection. |
int |
getRuleCount()
Returns the number of child Rule objects in this collection. |
org.writersforge.bellows.Datum |
process(org.writersforge.bellows.Datum content)
Applies changes to the supplied Datum content by running all the child Rule objects it contains. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RuleCollection()
| Method Detail |
public org.writersforge.bellows.Datum process(org.writersforge.bellows.Datum content)
process in interface Rulecontent - a Datum object to apply the Rule to
public void addRule(Rule rule)
rule - new Rule to addpublic int getRuleCount()
public void clearRules()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||