Interface Scanner

  • All Known Implementing Classes:
    XMLScanner

    public interface Scanner
    Scanner API.
    • Method Detail

      • getTokenOffset

        int getTokenOffset()
        Starting offset position of the current token
        Returns:
        int of token's start offset
      • getTokenLength

        int getTokenLength()
      • getTokenEnd

        int getTokenEnd()
        Ending offset position of the current token
        Returns:
        int of token's end offset
      • getTokenText

        String getTokenText()
      • getTokenError

        String getTokenError()
      • isTokenTextBlank

        boolean isTokenTextBlank()
        Returns:
        True if the token's Text is empty or all whitespace