public class GetStaticTag extends TagSupport
<j:getStatic var="closeOperation" className="javax.swing.JFrame"
field="EXIT_ON_CLOSE"/>
body, context, parent| Constructor and Description |
|---|
GetStaticTag() |
| Modifier and Type | Method and Description |
|---|---|
void |
doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized.
|
void |
setClassName(String className)
Sets the fully qualified name of the class containing the static field.
|
void |
setField(String field)
Sets the name of the field to retrieve.
|
void |
setVar(String var)
Sets the name of the variable exported by this tag.
|
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBodypublic void setVar(String var)
var - The variable name.public void setField(String field)
method - The method namepublic void setClassName(String className)
className - The name of the class.public void doTag(XMLOutput output) throws JellyTagException
TagJellyTagExceptionCopyright © 2012 Apache Software Foundation. All Rights Reserved.