org.drools.tags.semantics
Class SemanticComponentTagSupport
java.lang.Object
|
+--org.apache.commons.jelly.TagSupport
|
+--org.drools.tags.semantics.SemanticsTagSupport
|
+--org.drools.tags.semantics.SemanticComponentTagSupport
- All Implemented Interfaces:
- org.apache.commons.jelly.Tag
- Direct Known Subclasses:
- ConditionTag, ConsequenceTag, ExtractorTag, ObjectTypeTag
- public abstract class SemanticComponentTagSupport
- extends SemanticsTagSupport
Support for semantic components.
- Author:
- bob mcwhirter
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
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 |
SemanticComponentTagSupport
public SemanticComponentTagSupport()
- Construct.
setName
public void setName(java.lang.String name)
- Set the component name.
- Parameters:
name
- The name.
getName
public java.lang.String getName()
- Retrieve the component name.
- Returns:
- The component name.
setClassname
public void setClassname(java.lang.String classname)
- Set the component class name.
- Parameters:
classname
- The component class name.
getClassname
public java.lang.String getClassname()
- Retrieve the component class name.
- Returns:
- The component class name.
checkAttributes
public void checkAttributes()
throws org.apache.commons.jelly.MissingAttributeException
- Check if the attributes have been set.
- Throws:
org.apache.commons.jelly.MissingAttributeException
- If the attributes have not been set.
getSemanticModule
public SimpleSemanticModule getSemanticModule()
- Retrieve the current
SemanticModule
.
- Returns:
- The current
SemanticModule
or
null
if none found.
Copyright © 2001-2003 The Werken Company. All Rights Reserved.