| de.susebox.jtopas.spi.WhitespaceHandler
All known Subclasses: de.susebox.jtopas.spi.StandardWhitespaceHandler,
Method Summary | |
public int | countLeadingWhitespaces(DataProvider dataProvider) This method detects the number of whitespace characters the data range given
through the
DataProvider parameter starts with. | public boolean | isWhitespace(char testChar) This method checks if the given character is a whitespace. | public boolean | newlineIsWhitespace() If a
de.susebox.jtopas.Tokenizer performs line counting, it is often
nessecary to know if newline characters (Carriage return and line feed) are
(currently) considered to be whitespaces, which is most often the case. |
newlineIsWhitespace | public boolean newlineIsWhitespace()(Code) | | If a
de.susebox.jtopas.Tokenizer performs line counting, it is often
nessecary to know if newline characters (Carriage return and line feed) are
(currently) considered to be whitespaces, which is most often the case.
This method informs interested callers about the current condition.
Note that this method should return true only if both newline
characters are part of the current whitespace set.
true if newline characters are in the current whitespace set,false otherwise |
|
|