|
|||||||||||
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.ExtractionTag
Construct an Extraction
for a Rule
.
Extraction
Field Summary |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
ExtractionTag()
Construct. |
Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
Perform this tag. |
Extractor |
getExtractor()
Retrieve the Extractor . |
java.lang.String |
getTarget()
Retrieve the target of the extraction. |
java.lang.String |
getVar()
Retrieve the variable in which to store the Extraction . |
void |
receiveExtractor(Extractor extractor)
Receive a Extractor . |
protected void |
setExtractor(Extractor extractor)
Set the Extractor . |
void |
setTarget(java.lang.String target)
Set the target of the extraction. |
void |
setVar(java.lang.String var)
Set the variable in which to store the Extraction . |
Methods inherited from class org.drools.tags.rule.RuleTagSupport |
getAvailableDeclarations, getRule, 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 |
Methods inherited from interface org.drools.tags.rule.ExtractorReceptor |
getAvailableDeclarations |
Constructor Detail |
public ExtractionTag()
Method Detail |
protected void setExtractor(Extractor extractor)
Extractor
.
extractor
- The extractor.public Extractor getExtractor()
Extractor
.
public void setTarget(java.lang.String target)
target
- The target variable name.public java.lang.String getTarget()
public void setVar(java.lang.String var)
Extraction
.
var
- The variable.public java.lang.String getVar()
Extraction
.
public void receiveExtractor(Extractor extractor)
Extractor
.
receiveExtractor
in interface ExtractorReceptor
extractor
- The extrcactor.public void doTag(org.apache.commons.jelly.XMLOutput output) throws java.lang.Exception
doTag
in interface org.apache.commons.jelly.Tag
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 |