org.apache.tools.ant.types

Class AntFilterReader

Implemented Interfaces:
Cloneable

public final class AntFilterReader
extends DataType
implements Cloneable

An AntFileReader is a wrapper class that encloses the classname and configuration of a Configurable FilterReader.

Field Summary

Fields inherited from class org.apache.tools.ant.types.DataType

checked, description, ref

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

project

Method Summary

void
addParam(Parameter param)
Path
createClasspath()
Set the classpath to load the FilterReader through (nested element).
String
getClassName()
Path
getClasspath()
Get the classpath
Parameter[]
getParams()
void
setClassName(String className)
void
setClasspath(Path classpath)
Set the classpath to load the FilterReader through (attribute).
void
setClasspathRef(Reference r)
Set the classpath to load the FilterReader through via reference (attribute).
void
setRefid(Reference r)
Makes this instance in effect a reference to another AntFilterReader instance.

Methods inherited from class org.apache.tools.ant.types.DataType

checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, getCheckedRef, getDescription, getRefid, isChecked, isReference, noChildrenAllowed, setChecked, setDescription, setRefid, tooManyAttributes

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

getProject, log, log, setProject

Method Details

addParam

public final void addParam(Parameter param)

createClasspath

public final Path createClasspath()
Set the classpath to load the FilterReader through (nested element).

getClassName

public final String getClassName()

getClasspath

public final Path getClasspath()
Get the classpath

getParams

public final Parameter[] getParams()

setClassName

public final void setClassName(String className)

setClasspath

public final 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).

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.

Overrides:
setRefid in interface DataType
Parameters:
r - the reference to which this instance is associated
Throws:
BuildException - if this instance already has been configured.

Copyright B) 2000-2008 Apache Software Foundation. All Rights Reserved.