org.drools.tags.rule
Class ObjectTypeComponentTag
java.lang.Object
|
+--org.apache.commons.jelly.TagSupport
|
+--org.apache.commons.jelly.DynaTagSupport
|
+--org.apache.commons.jelly.DynaBeanTagSupport
|
+--org.drools.tags.rule.ComponentTag
|
+--org.drools.tags.rule.ObjectTypeComponentTag
- All Implemented Interfaces:
- org.apache.commons.jelly.DynaTag, org.apache.commons.jelly.Tag
- public class ObjectTypeComponentTag
- extends org.drools.tags.rule.ComponentTag
Dynamic ObjectType
component tag.
- Version:
- $Id: ObjectTypeComponentTag.java,v 1.2 2003/03/25 19:47:32 tdiesler Exp $
- Author:
- bob mcwhirter
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Method Summary |
void |
beforeSetAttributes()
Hook before attributes are set for initialization. |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
Perform this tag. |
protected java.lang.Object |
getComponent()
Retrieve the component. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Set an attribute on this tag. |
Methods inherited from class org.apache.commons.jelly.DynaBeanTagSupport |
getAttributeType, getDynaBean, setContext, setDynaBean |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isTrim, setBody, 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 |
getBody, getContext, getParent, invokeBody, setBody, setParent |
ObjectTypeComponentTag
public ObjectTypeComponentTag()
- Construct.
doTag
public void doTag(org.apache.commons.jelly.XMLOutput output)
throws org.apache.commons.jelly.MissingAttributeException,
org.apache.commons.jelly.JellyTagException
- Perform this tag.
- Overrides:
doTag
in class org.apache.commons.jelly.TagSupport
- Parameters:
output
- The output sink.- Throws:
org.apache.commons.jelly.JellyTagException
- If an error occurs while attempting
to perform this tag.
getComponent
protected java.lang.Object getComponent()
- Retrieve the component.
- Returns:
- The component.
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
throws org.apache.commons.jelly.JellyTagException
- Set an attribute on this tag.
- Overrides:
setAttribute
in class org.apache.commons.jelly.DynaBeanTagSupport
- Parameters:
name
- The attribute name.value
- The value.- Throws:
org.apache.commons.jelly.JellyTagException
- If an error occurs while attempting
to set the attribute value.
beforeSetAttributes
public void beforeSetAttributes()
throws org.apache.commons.jelly.JellyTagException
- Hook before attributes are set for initialization.
- Overrides:
beforeSetAttributes
in class org.apache.commons.jelly.DynaBeanTagSupport
- Throws:
org.apache.commons.jelly.JellyTagException
- If an error occurs.
Copyright © 2001-2003 The Werken Company. All Rights Reserved.