org.apache.tools.ant.taskdefs

Class Input.Handler

public class Input.Handler extends DefBase

Represents an InputHandler.
Method Summary
StringgetClassname()
Get the classname of the InputHandler.
StringgetRefid()
Get the refid of this Handler.
Input.HandlerTypegetType()
Get the handler type.
voidsetClassname(String classname)
Set the InputHandler classname.
voidsetRefid(String refid)
Specify 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.

Method Detail

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.