org.codehaus.modello.db
Class SQLReservedWords
AbstractLogEnabled
org.codehaus.modello.db.SQLReservedWords
- Initializable
public class SQLReservedWords
extends AbstractLogEnabled
implements Initializable
SQLReservedWords - utility object to test against SQL Keywords.
$Id: SQLReservedWords.java 817 2007-03-12 16:53:29Z joakime $
getKeywordSourceList
public List getKeywordSourceList(String word)
getKeywordSourceString
public String getKeywordSourceString(String word)
Obtain the comma delimited string of keyword sources that the specified (potential) word
(might) belong to.
- the
String
of keyword source names seperated by commas, or null
if word is
not a reserved word.
initialize
public void initialize()
throws InitializationException
isKeyword
public boolean isKeyword(String word)
Tests the provided word to see if it is a keyword.
- true if the provided word is a keyword.