|
||||||||||
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
Support for rule tags.
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
protected |
RuleTagSupport()
Construct. |
Method Summary | |
Declaration[] |
getAvailableDeclarations()
Retrieve the array of available Declaration s. |
protected Rule |
getRule()
Retrieve the current Rule |
protected RuleSet |
getRuleSet()
Retrieve the current RuleSet . |
protected void |
requiredAttribute(java.lang.String name,
java.lang.String value)
Check required attribute. |
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.apache.commons.jelly.Tag |
doTag |
Constructor Detail |
protected RuleTagSupport()
Method Detail |
protected RuleSet getRuleSet()
RuleSet
.null
if
no rule-set is in scope.protected Rule getRule()
Rule.
- Returns:
- The current rule.
public Declaration[] getAvailableDeclarations() throws org.apache.commons.jelly.JellyException
Declaration
s.org.apache.commons.jelly.JellyException
- If no declarations are currently
available in scope.protected void requiredAttribute(java.lang.String name, java.lang.String value) throws org.apache.commons.jelly.MissingAttributeException
name
- Attribute name.value
- Attribute value.org.apache.commons.jelly.MissingAttributeException
- If the value is either null
or contains only whitespace.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |