net.sourceforge.squirrel_sql.plugins.hibernate.completion
Class HqlSyntaxHighlightTokenMatcher

java.lang.Object
  extended by net.sourceforge.squirrel_sql.plugins.hibernate.completion.HqlSyntaxHighlightTokenMatcher
All Implemented Interfaces:
ISyntaxHighlightTokenMatcher

public class HqlSyntaxHighlightTokenMatcher
extends Object
implements ISyntaxHighlightTokenMatcher


Constructor Summary
HqlSyntaxHighlightTokenMatcher(HQLCompletionInfoCollection hqlCompletionInfoCollection)
           
 
Method Summary
 void addSQLTokenListener(SQLTokenListener tl)
           
 boolean isColumn(char[] buffer, int offset, int len)
           
 boolean isDataType(char[] buffer, int offset, int len)
           
 boolean isError(int offset, int len)
           
 boolean isFunction(char[] buffer, int offset, int len)
           
 boolean isKeyword(char[] buffer, int offset, int len)
           
 boolean isStatementSeparator(char[] buffer, int offset, int len)
           
 boolean isTable(char[] buffer, int offset, int len)
           
 void removeSQLTokenListener(SQLTokenListener tl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HqlSyntaxHighlightTokenMatcher

public HqlSyntaxHighlightTokenMatcher(HQLCompletionInfoCollection hqlCompletionInfoCollection)
Method Detail

isError

public boolean isError(int offset,
                       int len)
Specified by:
isError in interface ISyntaxHighlightTokenMatcher

isTable

public boolean isTable(char[] buffer,
                       int offset,
                       int len)
Specified by:
isTable in interface ISyntaxHighlightTokenMatcher

isFunction

public boolean isFunction(char[] buffer,
                          int offset,
                          int len)
Specified by:
isFunction in interface ISyntaxHighlightTokenMatcher

isDataType

public boolean isDataType(char[] buffer,
                          int offset,
                          int len)
Specified by:
isDataType in interface ISyntaxHighlightTokenMatcher

isStatementSeparator

public boolean isStatementSeparator(char[] buffer,
                                    int offset,
                                    int len)
Specified by:
isStatementSeparator in interface ISyntaxHighlightTokenMatcher

isColumn

public boolean isColumn(char[] buffer,
                        int offset,
                        int len)
Specified by:
isColumn in interface ISyntaxHighlightTokenMatcher

isKeyword

public boolean isKeyword(char[] buffer,
                         int offset,
                         int len)
Specified by:
isKeyword in interface ISyntaxHighlightTokenMatcher

addSQLTokenListener

public void addSQLTokenListener(SQLTokenListener tl)
Specified by:
addSQLTokenListener in interface ISyntaxHighlightTokenMatcher

removeSQLTokenListener

public void removeSQLTokenListener(SQLTokenListener tl)
Specified by:
removeSQLTokenListener in interface ISyntaxHighlightTokenMatcher


Copyright © 2001-2012. All Rights Reserved.