org.xbill.DNS
Class Tokenizer.Token

java.lang.Object
  extended by org.xbill.DNS.Tokenizer.Token
Enclosing class:
Tokenizer

public static class Tokenizer.Token
extends Object


Field Summary
 int type
          The type of token.
 String value
          The value of the token, or null for tokens without values.
 
Method Summary
 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.