org.drools.tags.rule
Class RuleSetTag

java.lang.Object
  |
  +--org.apache.commons.jelly.TagSupport
        |
        +--org.drools.tags.rule.RuleTagSupport
              |
              +--org.drools.tags.rule.RuleSetTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class RuleSetTag
extends RuleTagSupport

Construct a RuleSet.

Version:
$Id: RuleSetTag.java,v 1.4 2002/08/20 21:19:55 bob Exp $
Author:
bob mcwhirter
See Also:
RuleSet

Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
RuleSetTag()
          Construct.
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
          Perform this tag.
 java.lang.String getName()
          Retrieve the RuleSet name.
 RuleSet getRuleSet()
          Retrieve the RuleSet.
 java.lang.String getVar()
          Retrieve the variable in which to store the RuleSet.
 void setName(java.lang.String name)
          Set the RuleSet name.
 void setVar(java.lang.String var)
          Set the variable in which to store the RuleSet.
 
Methods inherited from class org.drools.tags.rule.RuleTagSupport
getAvailableDeclarations, getRule, 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

RuleSetTag

public RuleSetTag()
Construct.
Method Detail

setName

public void setName(java.lang.String name)
Set the RuleSet name.
Parameters:
name - The name.

getName

public java.lang.String getName()
Retrieve the RuleSet name.
Returns:
The name.

setVar

public void setVar(java.lang.String var)
Set the variable in which to store the RuleSet.
Parameters:
var - The variable name.

getVar

public java.lang.String getVar()
Retrieve the variable in which to store the RuleSet.
Returns:
The variable name.

getRuleSet

public RuleSet getRuleSet()
Retrieve the RuleSet.
Overrides:
getRuleSet in class RuleTagSupport
Returns:
The rule-set.

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws java.lang.Exception
Perform this tag.
Parameters:
output - The output sink.
Throws:
java.lang.Exception - If an error occurs while attempting to perform this tag.


Copyright © 2001-2002 The Werken Company. All Rights Reserved.