public abstract class DynaBeanTagSupport extends DynaTagSupport
DynaBeanTag is a DynaTag implementation which uses a DynaBean
to store its attribute values in. Derived tags can then process this
DynaBean in any way it wishes.
body, context, parent| Constructor and Description |
|---|
DynaBeanTagSupport() |
DynaBeanTagSupport(org.apache.commons.beanutils.DynaBean dynaBean) |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeSetAttributes()
Callback to allow processing to occur before the attributes are about to be set
|
Class |
getAttributeType(String name) |
org.apache.commons.beanutils.DynaBean |
getDynaBean() |
void |
setAttribute(String name,
Object value)
Sets an attribute value of this tag before the tag is invoked
|
void |
setContext(JellyContext context)
Sets the context in which the tag will be run.
|
void |
setDynaBean(org.apache.commons.beanutils.DynaBean dynaBean)
Sets the DynaBean which is used to store the
attributes of this tag
|
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setEscapeText, setParent, setTrim, trimBodyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoTag, getBody, getContext, getParent, invokeBody, setBody, setParentpublic DynaBeanTagSupport()
public DynaBeanTagSupport(org.apache.commons.beanutils.DynaBean dynaBean)
public void setContext(JellyContext context) throws JellyTagException
setContext in interface TagsetContext in class TagSupportJellyTagExceptionpublic void setAttribute(String name, Object value) throws JellyTagException
JellyTagExceptionpublic Class getAttributeType(String name) throws JellyTagException
getAttributeType in interface DynaTaggetAttributeType in class DynaTagSupportJellyTagExceptionpublic org.apache.commons.beanutils.DynaBean getDynaBean()
public void setDynaBean(org.apache.commons.beanutils.DynaBean dynaBean)
public void beforeSetAttributes()
throws JellyTagException
JellyTagExceptionCopyright © 2012 Apache Software Foundation. All Rights Reserved.