org.apache.tools.ant.types
Class AntFilterReader
- Cloneable
public final class AntFilterReader
implements Cloneable
An AntFilterReader is a wrapper class that encloses the classname
and configuration of a Configurable FilterReader.
checkAttributesAllowed , checkChildrenAllowed , circularReference , clone , dieOnCircularReference , dieOnCircularReference , dieOnCircularReference , getCheckedRef , getCheckedRef , getCheckedRef , getCheckedRef , getDataTypeName , getRefid , invokeCircularReferenceCheck , isChecked , isReference , noChildrenAllowed , setChecked , setRefid , toString , tooManyAttributes |
addParam
public void addParam(Parameter param)
Add a Parameter.
param
- a Parameter
value
createClasspath
public Path createClasspath()
Set the classpath to load the FilterReader through (nested element).
- a classpath to be configured
getClassName
public String getClassName()
Get the className attribute.
getClasspath
public Path getClasspath()
Get the classpath.
getParams
public Parameter[] getParams()
The parameters for this filter.
setClassName
public void setClassName(String className)
Set the className attribute.
className
- a String
value
setClasspath
public void setClasspath(Path classpath)
Set the classpath to load the FilterReader through (attribute).
setClasspathRef
public void setClasspathRef(Reference r)
Set the classpath to load the FilterReader through via
reference (attribute).
r
- a reference to a classpath
setRefid
public void setRefid(Reference r)
throws BuildException
Makes this instance in effect a reference to another AntFilterReader
instance.
You must not set another attribute or nest elements inside
this element if you make it a reference.
- setRefid in interface DataType
r
- the reference to which this instance is associated