org.apache.tools.ant.types

Class Mapper.MapperType

Enclosing Class:
Mapper

public static class Mapper.MapperType
extends EnumeratedAttribute

Class as Argument to FileNameMapper.setType.

Field Summary

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

value

Constructor Summary

MapperType()
bean constructor

Method Summary

String
getImplementation()
String[]
getValues()
This is the only method a subclass needs to implement.

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

containsValue, getIndex, getValue, getValues, indexOfValue, setValue, toString

Constructor Details

MapperType

public MapperType()
bean constructor

Method Details

getImplementation

public String getImplementation()


getValues

public String[] getValues()
This is the only method a subclass needs to implement.
Overrides:
getValues in interface EnumeratedAttribute

Returns:
an array holding all possible values of the enumeration. The order of elements must be fixed so that indexOfValue(String) always return the same index for the same value.


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