public class StaticTagScript extends TagScript
StaticTagScript is a script that evaluates a StaticTag, a piece of static XML
though its attributes or element content may contain dynamic expressions.
The first time this tag evaluates, it may have become a dynamic tag, so it will check that
a new dynamic tag has not been generated.
attributes| Constructor and Description |
|---|
StaticTagScript() |
StaticTagScript(TagFactory tagFactory)
Deprecated.
The tag name is inferred automatically, so no need to set a tag factory.
Use the default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Tag |
createTag()
Factory method to create a new Tag instance.
|
protected Tag |
findDynamicTag(JellyContext context,
StaticTag tag)
Attempts to find a dynamically created tag that has been created since this
script was compiled
|
void |
run(JellyContext context,
XMLOutput output)
Evaluates the body of a tag
|
addAttribute, addAttribute, applyLocation, clearTag, compile, configureTag, convertType, createJellyException, createJellyException, endNamespacePrefixes, getAttribute, getBodyText, getColumnNumber, getElementName, getFileName, getLineNumber, getLocalName, getNamespaceContext, getNsUri, getParent, getSaxAttributes, getScriptURL, getTag, getTagBody, getTagFactory, handleException, handleException, handleException, handleException, newInstance, setColumnNumber, setContextURLs, setElementName, setFileName, setLineNumber, setLocalName, setLocator, setNsUri, setParent, setSaxAttributes, setTag, setTagBody, setTagFactory, setTagNamespacesMap, startNamespacePrefixes, toStringpublic StaticTagScript()
public StaticTagScript(TagFactory tagFactory)
protected Tag createTag() throws JellyException
TagScriptcreateTag in class TagScriptJellyExceptionpublic void run(JellyContext context, XMLOutput output) throws JellyTagException
TagScriptrun in interface Scriptrun in class TagScriptJellyTagExceptionprotected Tag findDynamicTag(JellyContext context, StaticTag tag) throws JellyException
JellyExceptionCopyright © 2012 Apache Software Foundation. All Rights Reserved.