# Serialized Form

- ## Package org.apache.lucene.demo.html

  - ### Class org.apache.lucene.demo.html.ParseException extends java.lang.Exception implements Serializable

    serialVersionUID:
      1L

    - ### Serialized Fields

      - #### currentToken

            Token currentToken

        This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token followng this token will (therefore) be the first error token.

      - #### expectedTokenSequences

            int[][] expectedTokenSequences

        Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.

      - #### tokenImage

            java.lang.String[] tokenImage

        This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.

      - #### eol

            java.lang.String eol

        The end of line string for this machine.

  - ### Class org.apache.lucene.demo.html.Token extends java.lang.Object implements Serializable

    serialVersionUID:
      1L

    - ### Serialized Fields

      - #### kind

            int kind

        An integer that describes the kind of this token. This numbering system is determined by JavaCCParser, and a table of these numbers is stored in the file ...Constants.java.

      - #### beginLine

            int beginLine

        The line number of the first character of this Token.

      - #### beginColumn

            int beginColumn

        The column number of the first character of this Token.

      - #### endLine

            int endLine

        The line number of the last character of this Token.

      - #### endColumn

            int endColumn

        The column number of the last character of this Token.

      - #### image

            java.lang.String image

        The string image of the token.

      - #### next

            Token next

        A reference to the next regular (non-special) token from the input stream. If this is the last token from the input stream, or if the token manager has not read tokens beyond this one, this field is set to null. This is true only if this token is also a regular token. Otherwise, see below for a description of the contents of this field.

      - #### specialToken

            Token specialToken

        This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token. If there are no such special tokens, this field is set to null. When there are more than one such special token, this field refers to the last of these special tokens, which in turn refers to the next previous special token through its specialToken field, and so on until the first special token (whose specialToken field is null). The next fields of special tokens refer to other special tokens that immediately follow it (without an intervening regular token). If there is no such token, this field is null.

  - ### Class org.apache.lucene.demo.html.TokenMgrError extends java.lang.Error implements Serializable

    serialVersionUID:
      1L

    - ### Serialized Fields

      - #### errorCode

            int errorCode

        Indicates the reason why the exception is thrown. It will have one of the above 4 values.

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.