|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--domparser.Rules.AbstractRuleset
Defines the structure and basic methods for a Ruleset Object.
| Constructor Summary | |
AbstractRuleset()
Constructor |
|
| 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 |
trimArrays()
Trims the active, classes, names Arraylists |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public AbstractRuleset()
| Method Detail |
public void addRule(java.lang.String name,
java.lang.Class c,
java.lang.Boolean active)
throws HL7Exception
Adds a rule to the Ruleset.
addRule in interface RulesetInterfacename - 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)
throws HL7Exception
Retrieves a RuleObject from the Ruleset, returned as a Class object.
getRule in interface RulesetInterfacename - The name of the rule to retrieve.HL7Exception -
public java.lang.String[] getRuleNames()
throws HL7Exception
Retrieves the names of all the rules in the Ruleset as a String array.
getRuleNames in interface RulesetInterfaceHL7Exception -
public java.lang.Class[] getAllActiveRules()
throws HL7Exception
Retrieves all the active rules in the Ruleset, as an array of Class objects.
getAllActiveRules in interface RulesetInterfaceHL7Exception - public void trimArrays()
Trims the active, classes, names Arraylists
trimArrays in interface RulesetInterface
public java.lang.Class[] getClasses()
throws HL7Exception
Retrieves the Class objects defined in the Ruleset as an array of Class objects.
getClasses in interface RulesetInterfaceHL7Exception -
public java.lang.Boolean[] getActiveArray()
throws HL7Exception
Retrieves the array of Boolean objects defining what rules in the Ruleset are active.
getActiveArray in interface RulesetInterface
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||