|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--domparser.Rules.AbstractRuleset
|
+--domparser.Rules.Ruleset
| Constructor Summary | |
Ruleset()
|
|
| Method Summary | |
void |
addRule(java.lang.String name,
java.lang.Class c,
java.lang.Boolean active)
Adds a rule to the Ruleset. |
java.lang.Boolean[] |
getActiveArray()
Retrieves the array of Boolean objects defining what rules in the Ruleset are active. |
java.lang.Class[] |
getAllActiveRules()
Retrieves all the active rules in the Ruleset, as an array of Class objects. |
java.lang.Class[] |
getClasses()
Retrieves the Class objects defined in the Ruleset as an array of Class objects. |
java.lang.Class |
getRule(java.lang.String name)
Retrieves a RuleObject from the Ruleset, returned as a Class object. |
java.lang.String[] |
getRuleNames()
Retrieves the names of all the rules in the Ruleset as a String array. |
void |
init()
|
java.lang.Object |
instantiateClass(java.lang.Class c)
|
| Methods inherited from class domparser.Rules.AbstractRuleset |
trimArrays |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public Ruleset()
| Method Detail |
public void init()
public void addRule(java.lang.String name,
java.lang.Class c,
java.lang.Boolean active)
AbstractRulesetAdds a rule to the Ruleset.
addRule in class AbstractRulesetdomparser.Rules.AbstractRulesetname - The name of the rule to add.c - The class name of the rule to add.active - The boolean flag for the rule. True means the rule is active.HL7Exception - public java.lang.Class getRule(java.lang.String name)
AbstractRulesetRetrieves a RuleObject from the Ruleset, returned as a Class object.
getRule in class AbstractRulesetdomparser.Rules.AbstractRulesetname - The name of the rule to retrieve.HL7Exception - public java.lang.String[] getRuleNames()
AbstractRulesetRetrieves the names of all the rules in the Ruleset as a String array.
getRuleNames in class AbstractRulesetdomparser.Rules.AbstractRulesetHL7Exception - public java.lang.Class[] getAllActiveRules()
AbstractRulesetRetrieves all the active rules in the Ruleset, as an array of Class objects.
getAllActiveRules in class AbstractRulesetdomparser.Rules.AbstractRulesetHL7Exception - public java.lang.Class[] getClasses()
AbstractRulesetRetrieves the Class objects defined in the Ruleset as an array of Class objects.
getClasses in class AbstractRulesetdomparser.Rules.AbstractRulesetHL7Exception - public java.lang.Boolean[] getActiveArray()
AbstractRulesetRetrieves the array of Boolean objects defining what rules in the Ruleset are active.
getActiveArray in class AbstractRulesetpublic java.lang.Object instantiateClass(java.lang.Class c)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||