org.drools.tags.knowledge
Class LoadRulesTag

java.lang.Object
  |
  +--org.apache.commons.jelly.TagSupport
        |
        +--org.drools.tags.knowledge.LoadRulesTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class LoadRulesTag
extends org.apache.commons.jelly.TagSupport

Load Rules and RuleSets into a RuleBase.

Version:
$Id: LoadRulesTag.java,v 1.4 2002/08/22 19:59:51 bob Exp $
Author:
bob mcwhirter

Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
LoadRulesTag()
          Construct.
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
          Perform this tag.
 java.lang.String getFile()
          Retrieve the file to load.
 java.lang.String getUri()
          Retrieve the URI to load.
 void setFile(java.lang.String file)
          Set the file to load.
 void setUri(java.lang.String uri)
          Set the URI to load.
 
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

LoadRulesTag

public LoadRulesTag()
Construct.
Method Detail

setUri

public void setUri(java.lang.String uri)
Set the URI to load.
Parameters:
uri - The URI to load.

setFile

public void setFile(java.lang.String file)
Set the file to load.
Parameters:
file - The file to load.

getUri

public java.lang.String getUri()
Retrieve the URI to load.
Returns:
The URI to load.

getFile

public java.lang.String getFile()
Retrieve the file to load.
Returns:
The file to load.

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-2003 The Werken Company. All Rights Reserved.