|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.jelly.TagSupport | +--org.drools.tags.rule.RuleTagSupport | +--org.drools.tags.rule.RuleTag
Construct a Rule
for a RuleSet
.
Rule
Field Summary |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
RuleTag()
Construct. |
Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
Perform this tag. |
java.lang.String |
getName()
Retrieve the Rule name. |
Rule |
getRule()
Retrieve the Rule . |
java.lang.String |
getVar()
Retrieve the variable in which to store the Rule . |
void |
setName(java.lang.String name)
Set the Rule |
void |
setVar(java.lang.String var)
Set the variable in which to store the Rule . |
Methods inherited from class org.drools.tags.rule.RuleTagSupport |
getAvailableDeclarations, getRuleSet, requiredAttribute |
Methods inherited from class org.apache.commons.jelly.TagSupport |
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 RuleTag()
Method Detail |
public void setName(java.lang.String name)
Rule name.
- Parameters:
name
- The name.
public java.lang.String getName()
Rule
name.
public void setVar(java.lang.String var)
Rule
.
var
- The variable name.public java.lang.String getVar()
Rule
.
public Rule getRule()
Rule
.
getRule
in class RuleTagSupport
public void doTag(org.apache.commons.jelly.XMLOutput output) throws java.lang.Exception
output
- The output sink.
java.lang.Exception
- If an error occurs while attempting
to perform this tag.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |