public class DynamicTag extends DynaTagSupport
DynamicTag is a tag that is created from
inside a Jelly script as a Jelly template and will invoke a
given script, passing in its instantiation attributes
as variables and will allow the template to invoke its instance body.
body, context, parent| Constructor and Description |
|---|
DynamicTag() |
DynamicTag(Script template) |
| Modifier and Type | Method and Description |
|---|---|
void |
doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized.
|
Map |
getAttributes() |
Script |
getTemplate()
The template to be executed by this tag which may well
invoke this instances body from inside the template
|
void |
setAttribute(String name,
Object value)
Sets an attribute value of this tag before the tag is invoked
|
void |
setTemplate(Script template) |
getAttributeTypefindAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBodyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBody, getContext, getParent, invokeBody, setBody, setContext, setParentpublic DynamicTag()
public DynamicTag(Script template)
public void doTag(XMLOutput output) throws JellyTagException
TagJellyTagExceptionpublic void setAttribute(String name, Object value)
DynaTagpublic Script getTemplate()
public void setTemplate(Script template)
public Map getAttributes()
Copyright © 2012 Apache Software Foundation. All Rights Reserved.