Package org.apache.commons.jelly.impl
Class DynamicDynaBeanTag
java.lang.Object
org.apache.commons.jelly.TagSupport
org.apache.commons.jelly.DynaTagSupport
org.apache.commons.jelly.DynaBeanTagSupport
org.apache.commons.jelly.impl.DynamicDynaBeanTag
- All Implemented Interfaces:
DynaTag,BeanSource,Tag
This tag is bound onto a
DynaClass instance.
When the tag is invoked a DynaBean will be created using the tags attributes.
So this class is like a DynaBean implemenation of DynamicBeanTag- Version:
- $Revision: 155420 $
- Author:
- James Strachan
-
Field Summary
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, parent -
Constructor Summary
ConstructorsConstructorDescriptionDynamicDynaBeanTag(org.apache.commons.beanutils.DynaClass beanClass, Map attributes, String variableNameAttribute) -
Method Summary
Modifier and TypeMethodDescriptionvoidCallback to allow processing to occur before the attributes are about to be setvoidEvaluates this tag after all the tags properties have been initialized.getBean()voidsetAttribute(String name, Object value) Sets an attribute value of this tag before the tag is invokedMethods inherited from class org.apache.commons.jelly.DynaBeanTagSupport
getAttributeType, getDynaBean, setContext, setDynaBeanMethods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setEscapeText, setParent, setTrim, trimBodyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.commons.jelly.Tag
getBody, getContext, getParent, invokeBody, setBody, setParent
-
Constructor Details
-
DynamicDynaBeanTag
-
-
Method Details
-
beforeSetAttributes
Description copied from class:DynaBeanTagSupportCallback to allow processing to occur before the attributes are about to be set- Overrides:
beforeSetAttributesin classDynaBeanTagSupport- Throws:
JellyTagException
-
setAttribute
Description copied from class:DynaBeanTagSupportSets an attribute value of this tag before the tag is invoked- Specified by:
setAttributein interfaceDynaTag- Overrides:
setAttributein classDynaBeanTagSupport- Throws:
JellyTagException
-
doTag
Description copied from interface:TagEvaluates this tag after all the tags properties have been initialized.- Specified by:
doTagin interfaceTag- Throws:
JellyTagException
-
getBean
- Specified by:
getBeanin interfaceBeanSource- Returns:
- the bean that has just been created
-