Package org.apache.tools.ant.taskdefs
Class Input.Handler
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.AntlibDefinition
org.apache.tools.ant.taskdefs.DefBase
org.apache.tools.ant.taskdefs.Input.Handler
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- Input
Represents an InputHandler.
-
Field Summary
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the classname of the InputHandler.getRefid()Get the refid of this Handler.getType()Get the handler type.voidsetClassname(String classname) Set the InputHandler classname.voidSpecify that the handler is a reference on the project; this allows the use of a custom inputhandler.voidsetType(Input.HandlerType type) Set the handler type.Methods inherited from class org.apache.tools.ant.taskdefs.DefBase
createClasspath, createLoader, getClasspath, getClasspathId, getLoaderId, hasCpDelegate, init, isReverseLoader, setClasspath, setClasspathRef, setLoaderRef, setReverseLoaderMethods inherited from class org.apache.tools.ant.taskdefs.AntlibDefinition
getAntlibClassLoader, getURI, setAntlibClassLoader, setURIMethods inherited from class org.apache.tools.ant.Task
bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
Handler
public Handler()
-
-
Method Details
-
setRefid
Specify that the handler is a reference on the project; this allows the use of a custom inputhandler.- Parameters:
refid- the String refid.
-
getRefid
Get the refid of this Handler.- Returns:
- String refid.
-
setClassname
Set the InputHandler classname.- Parameters:
classname- the String classname.
-
getClassname
Get the classname of the InputHandler.- Returns:
- String classname.
-
setType
Set the handler type.- Parameters:
type- a HandlerType.
-
getType
Get the handler type.- Returns:
- a HandlerType object.
-