public class NewTag extends BaseClassLoaderTag implements ArgTagParent
classLoader, useContextClassLoaderbody, context, parent| Constructor and Description |
|---|
NewTag() |
| Modifier and Type | Method and Description |
|---|---|
void |
addArgument(Class type,
Object value) |
void |
doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized.
|
void |
setClassName(String className)
Sets the class name of the object to instantiate
|
void |
setVar(String var)
Sets the name of the variable exported by this tag
|
getClassLoader, getUseContextClassLoader, setClassLoader, setUseContextClassLoaderfindAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBodypublic void setVar(String var)
public void setClassName(String className)
public void addArgument(Class type, Object value)
addArgument in interface ArgTagParentpublic void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException
TagdoTag in interface TagMissingAttributeExceptionJellyTagExceptionCopyright © 2012 Apache Software Foundation. All Rights Reserved.