public class DynamicBeanTag extends DynaBeanTagSupport implements BeanSource
body, context, parent| Constructor and Description |
|---|
DynamicBeanTag(Class beanClass,
Map attributes,
String variableNameAttribute,
Method method) |
| 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, setDynaBeanfindAncestorWithClass, 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, waitgetBody, getContext, getParent, invokeBody, setBody, setParentpublic DynamicBeanTag(Class beanClass, Map attributes, String variableNameAttribute, Method method)
beanClass - Class of the bean that will receive the setter eventsattributes - variableNameAttribute - method - method of the Bean to invoke after the attributes have been set. Can be null.public void beforeSetAttributes()
throws JellyTagException
DynaBeanTagSupportbeforeSetAttributes in class DynaBeanTagSupportJellyTagExceptionpublic void setAttribute(String name, Object value) throws JellyTagException
DynaBeanTagSupportsetAttribute in interface DynaTagsetAttribute in class DynaBeanTagSupportJellyTagExceptionpublic void doTag(XMLOutput output) throws JellyTagException
TagdoTag in interface TagJellyTagExceptionpublic Object getBean()
getBean in interface BeanSourceCopyright © 2012 Apache Software Foundation. All Rights Reserved.