<presetdef name="my.javac">
<javac deprecation="${deprecation}" debug="${debug}"/>
</presetdef>
<my.javac srcdir="src" destdir="classes"/>
| Modifier and Type | Class and Description |
|---|---|
| public static class | PreSetDef.
This class contains the unknown element and the object that is predefined. |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private UnknownElement |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addTask(Task
Nested task/type to extend. nestedTask)Implements org. |
| public void | |
| public void |
| name | back to summary |
|---|---|
| private String name | |
| nestedTask | back to summary |
|---|---|
| private UnknownElement nestedTask | |
| PreSetDef | back to summary |
|---|---|
| public PreSetDef() | |
| addTask | back to summary |
|---|---|
| public void addTask(Task nestedTask) Implements org. Add a nested task to predefine attributes and elements on. | |
| execute | back to summary |
|---|---|
| public void execute() Overrides org. Make a new definition.
| |
| setName | back to summary |
|---|---|
| public void setName(String name) Set the name of this definition.
| |
AntTypeDefinition
| Modifier and Type | Field and Description |
|---|---|
| private UnknownElement | |
| private AntTypeDefinition |
| Access | Constructor and Description |
|---|---|
| public | PreSetDefinition(AntTypeDefinition
The parent of this predefinition. parent, UnknownElement The predefined attributes, nested elements and text. el)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | checkClass(Project
the current project. project)Overrides org. |
| public Object | |
| public Object | Returns: the created object.the current project. project)Create an instance of the definition. |
| public ClassLoader | Returns: the classloader for this definition.Overrides org. |
| public String | Returns: the name of the class of this definition.Overrides org. |
| public Class | Returns: the exposed class.the current project. project)Overrides org. |
| public UnknownElement | Returns: the predefined attributes, elements and text as an UnknownElement.Get the preset values. |
| public Class | Returns: the type of the definition.the current project. project)Overrides org. |
| public boolean | Returns: true if the definitions are the same.another definition. other, Project the current project. project)Overrides org. |
| public void | setAdapterClass(Class<?>
the adapterClass. adapterClass)Overrides org. |
| public void | setAdaptToClass(Class<?>
the assignable class. adaptToClass)Overrides org. |
| public void | |
| public void | setClassLoader(ClassLoader
the classLoader. classLoader)Overrides org. |
| public void | setClassName(String
a className)String value.Overrides org. |
| public boolean | Returns: true if the definitions are similar.another definition. other, Project the current project. project)Overrides org. |
| element | back to summary |
|---|---|
| private UnknownElement element | |
| parent | back to summary |
|---|---|
| private AntTypeDefinition parent | |
| PreSetDefinition | back to summary |
|---|---|
| public PreSetDefinition(AntTypeDefinition parent, UnknownElement el) Creates a new
| |
| checkClass | back to summary |
|---|---|
| public void checkClass(Project project) Overrides org. Check if the attributes are correct. | |
| create | back to summary |
|---|---|
| public Object create(Project project) Overrides org. Fake create an object, used by IntrospectionHelper and UnknownElement to see that this is a predefined object. | |
| createObject | back to summary |
|---|---|
| public Object createObject(Project project) Create an instance of the definition. The instance may be wrapped in a proxy class. This is a special version of create for IntrospectionHelper and UnknownElement. | |
| getClassLoader | back to summary |
|---|---|
| public ClassLoader getClassLoader() Overrides org. Get the classloader for this definition.
| |
| getClassName | back to summary |
|---|---|
| public String getClassName() Overrides org. Get the classname of the definition. | |
| getExposedClass | back to summary |
|---|---|
| public Class Overrides org. Get the exposed class for this definition. | |
| getPreSets | back to summary |
|---|---|
| public UnknownElement getPreSets() Get the preset values.
| |
| getTypeClass | back to summary |
|---|---|
| public Class Overrides org. Get the definition class. | |
| sameDefinition | back to summary |
|---|---|
| public boolean sameDefinition(AntTypeDefinition other, Project project) Overrides org. Equality method for this definition.
| |
| setAdapterClass | back to summary |
|---|---|
| public void setAdapterClass(Class<?> adapterClass) Overrides org. Set the adapter class for this definition. NOT Supported | |
| setAdaptToClass | back to summary |
|---|---|
| public void setAdaptToClass(Class<?> adaptToClass) Overrides org. Set the assignable class for this definition. NOT SUPPORTED | |
| setClass | back to summary |
|---|---|
| public void setClass(Class<?> clazz) Overrides org. Override so that it is not allowed. | |
| setClassLoader | back to summary |
|---|---|
| public void setClassLoader(ClassLoader classLoader) Overrides org. Set the classloader to use to create an instance of the definition. NOT SUPPORTED
| |
| setClassName | back to summary |
|---|---|
| public void setClassName(String className) Overrides org. Override so that it is not allowed. | |
| similarDefinition | back to summary |
|---|---|
| public boolean similarDefinition(AntTypeDefinition other, Project project) Overrides org. Similar method for this definition.
| |