Class ScriptDef.NestedElement
- java.lang.Object
- 
- org.apache.tools.ant.taskdefs.optional.script.ScriptDef.NestedElement
 
- 
- Enclosing class:
- ScriptDef
 
 public static class ScriptDef.NestedElement extends java.lang.ObjectClass to represent a nested element definition
- 
- 
Constructor SummaryConstructors Constructor Description NestedElement()
 - 
Method SummaryModifier and Type Method Description voidsetClassName(java.lang.String className)Sets the classname of the class to be used for the nested element.voidsetName(java.lang.String name)Sets the tag name for this nested elementvoidsetType(java.lang.String type)Sets the type of this element.
 
- 
- 
- 
Method Detail- 
setNamepublic void setName(java.lang.String name) Sets the tag name for this nested element- Parameters:
- name- the name of this nested element
 
 - 
setTypepublic void setType(java.lang.String type) Sets 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- Parameters:
- type- the name of an Ant type, or task, to use for this nested element.
 
 - 
setClassNamepublic void setClassName(java.lang.String className) Sets 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.- Parameters:
- className- the name of the class to use for this nested element.
 
 
- 
 
-