This interface supplies the nessecary methods for a {@link DataMapper} or itssubinterfaces ( {@link WhitespaceHandler}, {@link SeparatorHandler}, {@link PatternHandler}{@link KeywordHandler} and {@link SequenceHandler}) to perform its operations like checking for whitespaces, special sequences etc. Instances of the interface are created by {@link de.susebox.jtopas.Tokenizer} implementations.
A {@link de.susebox.jtopas.Tokenizer} implementation will either implement theDataProvider
interface itself or has an associated - probably non-public - implementing class.
Note:: Each implementation of this interface should also override the method {@link java.lang.Object#toString}. The implementation of toString
should return a string composed of all characters of a DataProvider
between {@link #getStartPosition} (including) and {@link #getStartPosition} + {@link #getLength} (excluding).
Note:: This interface will eventually be deprecated in favour of the new JDK 1.4 interface {@link java.lang.CharSequence}.
@see de.susebox.jtopas.Tokenizer @see de.susebox.jtopas.TokenizerProperties @see DataMapper @author Heiko Blau
|
|
|
|
|
|
|
|