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, 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 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
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.