Tokenizer.Token (dnsjava documentation)
Date: 2013-04-10

org.xbill.DNS

## Class Tokenizer.Token

- java.lang.Object
- - org.xbill.DNS.Tokenizer.Token

- Enclosing class:
    Tokenizer

      public static class Tokenizer.Token
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `type` The type of token.
    `String` | `value` The value of the token, or null for tokens without values.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isEOL()` Indicates whether this token contains an EOL or EOF.
    `boolean` | `isString()` Indicates whether this token contains a string.
    `String` | `toString()` Converts the token to a string containing a representation useful for debugging.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### type

          public int type

      The type of token.

    - #### value

          public String value

      The value of the token, or null for tokens without values.

  - ### Method Detail

    - #### toString

          public String toString()

      Converts the token to a string containing a representation useful for debugging.
      Overrides:
        `toString` in class `Object`

    - #### isString

          public boolean isString()

      Indicates whether this token contains a string.

    - #### isEOL

          public boolean isEOL()

      Indicates whether this token contains an EOL or EOF.