|
||||||||||
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.rule.RuleTagSupport | +--org.drools.tags.rule.DurationTag
Construct a Duration
for a Rule
.
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
DurationTag()
Construct. |
Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
Perform this tag. |
Duration |
getDuration()
Retrieve the Duration . |
java.lang.String |
getVar()
Retrieve the variable in which to store the Duration . |
protected void |
setDuration(Duration duration)
Set the Duration . |
void |
setVar(java.lang.String var)
Set the variable in which to store the Duration . |
Methods inherited from class org.drools.tags.rule.RuleTagSupport |
getAvailableDeclarations, getRule, getRuleSet, requiredAttribute |
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 DurationTag()
Method Detail |
protected void setDuration(Duration duration)
Duration
.duration
- The duration.public Duration getDuration()
Duration
.public void setVar(java.lang.String var)
Duration
.var
- The variable name.public java.lang.String getVar()
Duration
.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 |