public class NewTag extends BaseClassLoaderTag implements ArgTagParent
classLoader, useContextClassLoader
body, 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, setUseContextClassLoader
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
public void setVar(String var)
public void setClassName(String className)
public void addArgument(Class type, Object value)
addArgument
in interface ArgTagParent
public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException
Tag
doTag
in interface Tag
MissingAttributeException
JellyTagException
Copyright © 2014 Apache Software Foundation. All rights reserved.