|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.define.DefineTagSupport
org.apache.commons.jelly.tags.define.DynaBeanTag
public class DynaBeanTag
Binds a Java bean to the given named Jelly tag so that the attributes of the tag set the bean properties..
Field Summary |
---|
Fields inherited from class org.apache.commons.jelly.TagSupport |
---|
body, context, parent |
Constructor Summary | |
---|---|
DynaBeanTag()
|
Method Summary | |
---|---|
void |
addAttribute(Attribute attribute)
Adds a new attribute definition to this dynamic tag |
void |
doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized. |
org.apache.commons.beanutils.DynaClass |
getDynaClass()
Returns the dynaClass. |
void |
setDynaClass(org.apache.commons.beanutils.DynaClass dynaClass)
Sets the DynaClass which will be bound to this dynamic tag. |
void |
setName(java.lang.String name)
Sets the name of the tag to create |
void |
setVarAttribute(java.lang.String varAttribute)
Sets the name of the attribute used to define the bean variable that this dynamic tag will output its results as. |
Methods inherited from class org.apache.commons.jelly.tags.define.DefineTagSupport |
---|
getTagLibrary |
Methods inherited from class org.apache.commons.jelly.TagSupport |
---|
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynaBeanTag()
Method Detail |
---|
public void addAttribute(Attribute attribute)
public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException
Tag
MissingAttributeException
JellyTagException
public void setName(java.lang.String name)
public void setVarAttribute(java.lang.String varAttribute)
public org.apache.commons.beanutils.DynaClass getDynaClass()
public void setDynaClass(org.apache.commons.beanutils.DynaClass dynaClass)
DynaClass
which will be bound to this dynamic tag.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |