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) |
getAttributeType
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBody, getContext, getParent, invokeBody, setBody, setContext, setParent
public DynamicTag()
public DynamicTag(Script template)
public void doTag(XMLOutput output) throws JellyTagException
Tag
JellyTagException
public void setAttribute(String name, Object value)
DynaTag
public Script getTemplate()
public void setTemplate(Script template)
public Map getAttributes()
Copyright © 2014 Apache Software Foundation. All rights reserved.