planetj.database.sql
Class SQLToken

java.lang.Object
  |
  +--planetj.database.sql.SQLToken
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AbstractExpressionToken, ColumnFunctionToken, ColumnToken, LanguageElementToken, OperatorToken, ScalarToken, SpecialRegisterToken, TableClauseToken, TableFunctionToken, TableToken, TypeToken, ValueToken

public class SQLToken
extends Object
implements Serializable

Author:
PlanetJ Corporation
See Also:
Serialized Form

Field Summary
static String WHITE_SPACE
           
 
Constructor Summary
SQLToken()
          SQLToken constructor comment.
SQLToken(String pToken, SQLStatement pStatement)
          SQLToken constructor comment.
 
Method Summary
 SQLStatement getStatement()
          Gets the SQLStatement to which this token belongs
 String getToken()
           
static boolean isTokenParameter(String token)
           
static boolean isTokenWhiteSpace(String token)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WHITE_SPACE

public static final String WHITE_SPACE
See Also:
Constant Field Values
Constructor Detail

SQLToken

public SQLToken()
SQLToken constructor comment.


SQLToken

public SQLToken(String pToken,
                SQLStatement pStatement)
SQLToken constructor comment.

Parameters:
pToken - String to create this token from.
Method Detail

getStatement

public SQLStatement getStatement()
Gets the SQLStatement to which this token belongs


getToken

public String getToken()

isTokenParameter

public static final boolean isTokenParameter(String token)

isTokenWhiteSpace

public static final boolean isTokenWhiteSpace(String token)

toString

public String toString()
Overrides:
toString in class Object