net.sourceforge.squirrel_sql.plugins.syntax.netbeans
Class SqlSyntaxHighlightTokenMatcher

java.lang.Object
  extended by net.sourceforge.squirrel_sql.plugins.syntax.netbeans.SqlSyntaxHighlightTokenMatcher
All Implemented Interfaces:
ISyntaxHighlightTokenMatcher

public class SqlSyntaxHighlightTokenMatcher
extends Object
implements ISyntaxHighlightTokenMatcher


Constructor Summary
SqlSyntaxHighlightTokenMatcher(ISession sess, NetbeansSQLEditorPane editorPane)
           
 
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

SqlSyntaxHighlightTokenMatcher

public SqlSyntaxHighlightTokenMatcher(ISession sess,
                                      NetbeansSQLEditorPane editorPane)
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

addSQLTokenListener

public void addSQLTokenListener(SQLTokenListener tl)
Specified by:
addSQLTokenListener 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

removeSQLTokenListener

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


Copyright © 2001-2010. All Rights Reserved.