|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.jelly.TagSupport | +--org.drools.tags.knowledge.RuleBaseTag
Create a RuleBase
.
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
RuleBaseTag()
Construct. |
Method Summary | |
void |
addRule(Rule rule)
Add a Rule to the RuleBase . |
void |
addRuleSet(RuleSet ruleSet)
Add a RuleSet to the RuleBase . |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
Perform this tag. |
RuleBase |
getRuleBase()
Retrieve the RuleBase . |
java.lang.String |
getVar()
Retrieve the variable in which to store the RuleBase . |
void |
setVar(java.lang.String var)
Set the variable in which to store the RuleBase . |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isTrim, setBody, setContext, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RuleBaseTag()
Method Detail |
public void setVar(java.lang.String var)
RuleBase
.var
- The variable name.public java.lang.String getVar()
RuleBase
.public RuleBase getRuleBase()
RuleBase
.public void addRuleSet(RuleSet ruleSet) throws org.apache.commons.jelly.JellyTagException
RuleSet
to the RuleBase
.ruleSet
- The rule-set to add.org.apache.commons.jelly.JellyTagException
- If an error occurs while attempting
to add the rule-set.public void addRule(Rule rule) throws org.apache.commons.jelly.JellyTagException
Rule
to the RuleBase
.rule
- The rule to add.org.apache.commons.jelly.JellyTagException
- If an error occurs while attempting
to add the rule.public void doTag(org.apache.commons.jelly.XMLOutput output) throws org.apache.commons.jelly.MissingAttributeException, org.apache.commons.jelly.JellyTagException
doTag
in class org.apache.commons.jelly.TagSupport
output
- The output sink.org.apache.commons.jelly.JellyTagException
- If an error occurs while attempting
to perform this tag.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |