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, trimBody
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doTag, getBody, getContext, getParent, invokeBody, setBody, setParent
public DynaBeanTagSupport()
public DynaBeanTagSupport(org.apache.commons.beanutils.DynaBean dynaBean)
public void setContext(JellyContext context) throws JellyTagException
setContext
in interface Tag
setContext
in class TagSupport
JellyTagException
public void setAttribute(String name, Object value) throws JellyTagException
JellyTagException
public Class getAttributeType(String name) throws JellyTagException
getAttributeType
in interface DynaTag
getAttributeType
in class DynaTagSupport
JellyTagException
public org.apache.commons.beanutils.DynaBean getDynaBean()
public void setDynaBean(org.apache.commons.beanutils.DynaBean dynaBean)
public void beforeSetAttributes() throws JellyTagException
JellyTagException
Copyright © 2014 Apache Software Foundation. All rights reserved.