public class DynamicDynaBeanTag extends DynaBeanTagSupport implements BeanSource
DynaClass
instance.
When the tag is invoked a DynaBean will be created using the tags attributes.
So this class is like a {@link DynaBean} implemenation of {@link DynamicBeanTag}body, context, parent
Constructor and Description |
---|
DynamicDynaBeanTag(org.apache.commons.beanutils.DynaClass beanClass,
Map attributes,
String variableNameAttribute) |
Modifier and Type | Method and Description |
---|---|
void |
beforeSetAttributes()
Callback to allow processing to occur before the attributes are about to be set
|
void |
doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized.
|
Object |
getBean() |
void |
setAttribute(String name,
Object value)
Sets an attribute value of this tag before the tag is invoked
|
getAttributeType, getDynaBean, setContext, setDynaBean
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
getBody, getContext, getParent, invokeBody, setBody, setParent
public void beforeSetAttributes() throws JellyTagException
DynaBeanTagSupport
beforeSetAttributes
in class DynaBeanTagSupport
JellyTagException
public void setAttribute(String name, Object value) throws JellyTagException
DynaBeanTagSupport
setAttribute
in interface DynaTag
setAttribute
in class DynaBeanTagSupport
JellyTagException
public void doTag(XMLOutput output) throws JellyTagException
Tag
doTag
in interface Tag
JellyTagException
public Object getBean()
getBean
in interface BeanSource
Copyright © 2014 Apache Software Foundation. All rights reserved.