info.informatica.text.mapper
Class IdentityMapper
java.lang.Object
info.informatica.text.mapper.SingleTextMapper
info.informatica.text.mapper.IdentityMapper
- All Implemented Interfaces:
- TextMapper
public class IdentityMapper
- extends SingleTextMapper
- implements TextMapper
Identity map
- Version:
- 1.01
- Author:
- amengual at informatica dot info
IdentityMapper
public IdentityMapper()
map
public String map(String canon,
String unmatch)
- Description copied from interface:
TextMapper
- Maps
arg to another String and returns it.
- Specified by:
map in interface TextMapper- Specified by:
map in class SingleTextMapper
- Parameters:
canon - the String to be mappedunmatch - the String to be returned if the argument does not match any
mapping.
- Returns:
- the String in the "Range Set" resulting from the map, or
unmatch if arg was not contained in
the Domain Set, and the mapper therefore did not know how to map.