Class Typedef

Direct Known Subclasses:

public class Typedef
extends Definer

Adds a data type definition to the current project. Two attributes are needed, the name that identifies this data type uniquely, and the full name of the class (including the packages) that implements this type.

You can also define a group of data types at once using the file or resource attributes. These attributes point to files in the format of Java property files. Each line defines a single data type in the format:

Typedef should be used to add your own types to the system. Data types are things likepaths or filesets that can be defined at the project level and referenced via their ID attribute.

Custom data types usually need custom tasks to put them to good use.

Ant 1.4

Nested Class Summary
Nested classes inherited from class
Definer.Format, Definer.OnError
Field Summary
Fields inherited from class
description, location, target, taskName, taskType, wrapper
Fields inherited from class
Constructor Summary
Methods inherited from class
addDefinition, execute, getClassname, getFile, getName, getResource, loadProperties, setAdapter, setAdapterClass, setAdaptTo, setAdaptToClass, setClassname, setFile, setFormat, setName, setOnError, setResource
Methods inherited from class
createClasspath, createLoader, getClasspath, getClasspathId, getLoaderId, init, isReverseLoader, setClasspath, setClasspathRef, setLoaderRef, setReverseLoader
Methods inherited from class
getAntlibClassLoader, getURI, setAntlibClassLoader, setURI
Methods inherited from class
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
Methods inherited from class
getProject, setProject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public Typedef()

Copyright 2000-2005 Apache Software Foundation. All Rights Reserved.