Structured Text Toolkit

com.saelist.stx.parser
Class Token

java.lang.Object
  extended bycom.saelist.stx.parser.Token

public class Token
extends java.lang.Object

Tokens for free form structured text.


Field Summary
static int CR
           
static int DQ
           
static int LBR
           
static Logger logger
           
static int NEWLINE
           
static int RBR
           
static int SPACE
           
static int SPACES
           
static int SQ
           
static int TAB
           
static int TEXT
           
 
Constructor Summary
Token(int line, int column, int type, java.lang.String value)
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 int getColumn()
           
 int getLine()
           
 int getType()
           
 java.lang.String getTypeName()
           
 java.lang.String getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

public static Logger logger

TEXT

public static final int TEXT
See Also:
Constant Field Values

SPACES

public static final int SPACES
See Also:
Constant Field Values

SPACE

public static final int SPACE
See Also:
Constant Field Values

NEWLINE

public static final int NEWLINE
See Also:
Constant Field Values

CR

public static final int CR
See Also:
Constant Field Values

TAB

public static final int TAB
See Also:
Constant Field Values

LBR

public static final int LBR
See Also:
Constant Field Values

RBR

public static final int RBR
See Also:
Constant Field Values

SQ

public static final int SQ
See Also:
Constant Field Values

DQ

public static final int DQ
See Also:
Constant Field Values
Constructor Detail

Token

public Token(int line,
             int column,
             int type,
             java.lang.String value)
Method Detail

getLine

public int getLine()

getColumn

public int getColumn()

getType

public int getType()

getValue

public java.lang.String getValue()

toString

public java.lang.String toString()

getTypeName

public java.lang.String getTypeName()

equals

public boolean equals(java.lang.Object object)

Structured Text Toolkit