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