Uses of Interface
org.unitils.dbmaintainer.script.parsingstate.ParsingState

Packages that use ParsingState
org.unitils.dbmaintainer.script.impl   
org.unitils.dbmaintainer.script.parsingstate   
org.unitils.dbmaintainer.script.parsingstate.impl   
 

Uses of ParsingState in org.unitils.dbmaintainer.script.impl
 

Fields in org.unitils.dbmaintainer.script.impl declared as ParsingState
protected  ParsingState DefaultScriptParser.currentParsingState
          The current state.
protected  ParsingState DefaultScriptParser.initialParsingState
          The starting state.
 

Methods in org.unitils.dbmaintainer.script.impl that return ParsingState
protected  ParsingState DefaultScriptParser.createInitialParsingState(boolean backSlashEscapingEnabled)
          Builds the initial parsing state.
 

Uses of ParsingState in org.unitils.dbmaintainer.script.parsingstate
 

Methods in org.unitils.dbmaintainer.script.parsingstate that return ParsingState
 ParsingState ParsingState.handleNextChar(char previousChar, char currentChar, char nextChar, StatementBuilder statementBuilder)
          Handles the next character in the script.
 

Uses of ParsingState in org.unitils.dbmaintainer.script.parsingstate.impl
 

Classes in org.unitils.dbmaintainer.script.parsingstate.impl that implement ParsingState
 class BaseParsingState
          Base class for a parsing state.
 class InBlockCommentParsingState
          A state for parsing an in-block comment (/ * comment * /) part of a script.
 class InDoubleQuotesParsingState
          A state for parsing double quotes ("text") literal part of a script.
 class InLineCommentParsingState
          A state for parsing an in-line comment (-- comment) part of a script.
 class InSingleQuotesParsingState
          A state for parsing single quotes ('text') part of a script.
 class NormalParsingState
          The default initial parsing state that is able to recognize the beginning of line comments, block comments, single and double quote literals and the ending of a statment.
 class OracleNormalParsingState
          The initial state for Oracle.
 

Fields in org.unitils.dbmaintainer.script.parsingstate.impl declared as ParsingState
protected  ParsingState NormalParsingState.inBlockCommentParsingState
          The in a block comment (/ * comment * /) state.
protected  ParsingState NormalParsingState.inDoubleQuotesParsingState
          The in double quotes ("text") state.
protected  ParsingState NormalParsingState.inLineCommentParsingState
          The in an in-line comment (-- comment) state.
protected  ParsingState NormalParsingState.inSingleQuotesParsingState
          The in single quotes ('text') state.
protected  ParsingState InSingleQuotesParsingState.normalParsingState
          The normal, not in quotes, not in comment state.
protected  ParsingState InLineCommentParsingState.normalParsingState
          The normal parsing state, that should be returned when the comment end is reached.
protected  ParsingState InDoubleQuotesParsingState.normalParsingState
          The normal parsing state, that should be returned when the quote end is reached.
protected  ParsingState InBlockCommentParsingState.normalParsingState
          The normal parsing state, that should be returned when the comment end is reached.
 

Methods in org.unitils.dbmaintainer.script.parsingstate.impl that return ParsingState
protected  ParsingState OracleNormalParsingState.getNextParsingState(char previousChar, char currentChar, char nextChar, StatementBuilder statementBuilder)
          Overridden to also correctly identify the starting of PL/SQL code blocks and to handle slashes / to end a statement.
protected  ParsingState NormalParsingState.getNextParsingState(char previousChar, char currentChar, char nextChar, StatementBuilder statementBuilder)
          Determines the next state.
protected  ParsingState InSingleQuotesParsingState.getNextParsingState(char previousChar, char currentChar, char nextChar, StatementBuilder statementBuilder)
          Determines whether the end of the literal is reached.
protected  ParsingState InLineCommentParsingState.getNextParsingState(char previousChar, char currentChar, char nextChar, StatementBuilder statementBuilder)
          Determines whether the end of the line comment is reached.
protected  ParsingState InDoubleQuotesParsingState.getNextParsingState(char previousChar, char currentChar, char nextChar, StatementBuilder statementBuilder)
          Determines whether the end of the literal is reached.
protected  ParsingState InBlockCommentParsingState.getNextParsingState(char previousChar, char currentChar, char nextChar, StatementBuilder statementBuilder)
          Determines whether the end of the block comment is reached.
protected abstract  ParsingState BaseParsingState.getNextParsingState(char previousChar, char currentChar, char nextChar, StatementBuilder statementBuilder)
          Determines the next state.
 ParsingState BaseParsingState.handleNextChar(char previousChar, char currentChar, char nextChar, StatementBuilder statementBuilder)
          Handles the next character by adding it to the statement builder.
 

Methods in org.unitils.dbmaintainer.script.parsingstate.impl with parameters of type ParsingState
 void InLineCommentParsingState.init(ParsingState normalParsingState)
          Initializes the state with the normal parsing state, that should be returned when the comment end is reached..
 void InBlockCommentParsingState.init(ParsingState normalParsingState)
          Initializes the state with the normal parsing state, that should be returned when the comment end is reached..
 void InSingleQuotesParsingState.init(ParsingState normalParsingState, boolean backSlashEscapingEnabled)
          Initializes the state with the normal parsing state, that should be returned when the end of the literal is reached..
 void InDoubleQuotesParsingState.init(ParsingState normalParsingState, boolean backSlashEscapingEnabled)
          Initializes the state with the normal parsing state, that should be returned when the end of the literal is reached.
 void NormalParsingState.init(ParsingState inLineCommentParsingState, ParsingState inBlockCommentParsingState, ParsingState inSingleQuotesParsingState, ParsingState inDoubleQuotesParsingState, boolean backSlashEscapingEnabled)
          Initializes the state with the given parsing states.
 



Copyright © 2011. All Rights Reserved.