org.apache.tools.ant.taskdefs

Class Input.Handler

Enclosing Class:
Input
Implemented Interfaces:
Cloneable

public class Input.Handler
extends DefBase

Represents an InputHandler.

Field Summary

Fields inherited from class org.apache.tools.ant.Task

target, taskName, taskType, wrapper

Fields inherited from class org.apache.tools.ant.ProjectComponent

description, location, project

Method Summary

String
getClassname()
Get the classname of the InputHandler.
String
getRefid()
Get the refid of this Handler.
Input.HandlerType
getType()
Get the handler type.
void
setClassname(String classname)
Set the InputHandler classname.
void
setRefid(String refid)
Specify that the handler is a reference on the project; this allows the use of a custom inputhandler.
void
setType(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, setReverseLoader

Methods inherited from class org.apache.tools.ant.taskdefs.AntlibDefinition

getAntlibClassLoader, getURI, setAntlibClassLoader, setURI

Methods inherited from class org.apache.tools.ant.Task

bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType

Methods inherited from class org.apache.tools.ant.ProjectComponent

clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject

Method Details

getClassname

public String getClassname()
Get the classname of the InputHandler.
Returns:
String classname.

getRefid

public String getRefid()
Get the refid of this Handler.
Returns:
String refid.

getType

public Input.HandlerType getType()
Get the handler type.
Returns:
a HandlerType object.

setClassname

public void setClassname(String classname)
Set the InputHandler classname.
Parameters:
classname - the String classname.

setRefid

public void setRefid(String refid)
Specify that the handler is a reference on the project; this allows the use of a custom inputhandler.
Parameters:
refid - the String refid.

setType

public void setType(Input.HandlerType type)
Set the handler type.
Parameters:
type - a HandlerType.