org.apache.tools.ant.taskdefs.optional.script
Class ScriptDef.NestedElement
java.lang.Object
org.apache.tools.ant.taskdefs.optional.script.ScriptDef.NestedElement
- ScriptDef
public static class ScriptDef.NestedElement
extends java.lang.Object
Class to represent a nested element definition
void | setClassName(String className) - Set the classname of the class to be used for the nested element.
|
void | setName(String name) - set the tag name for this nested element
|
void | setType(String type) - Set the type of this element.
|
setClassName
public void setClassName(String className)
Set the classname of the class to be used for the nested element.
This specifies the class directly and is an alternative to specifying
the Ant type name.
className
- the name of the class to use for this nested
element.
setName
public void setName(String name)
set the tag name for this nested element
name
- the name of this nested element
setType
public void setType(String type)
Set the type of this element. This is the name of an
Ant task or type which is to be used when this element is to be
created. This is an alternative to specifying the class name directly
type
- the name of an Ant type, or task, to use for this nested
element.
Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.