|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dbmaintain.script.parser.impl.DefaultScriptParserFactory
public class DefaultScriptParserFactory
Field Summary | |
---|---|
protected boolean |
backSlashEscapingEnabled
|
protected Properties |
scriptParameters
|
Constructor Summary | |
---|---|
DefaultScriptParserFactory(boolean backSlashEscapingEnabled,
Properties scriptParameters)
|
Method Summary | |
---|---|
protected EscapingParsingState |
createEscapingParsingState()
|
protected InBlockCommentParsingState |
createInBlockCommentParsingState()
Factory method for the in-block comment (/ * comment * /) parsing state. |
protected InCurlyBraceBlockCommentParsingState |
createInCurlyBraceBlockCommentParsingState()
Factory method for the in-block comment ({ comment }) parsing state. |
protected InDoubleQuotesParsingState |
createInDoubleQuotesParsingState()
Factory method for the double quotes ("text") literal parsing state. |
protected InLineCommentParsingState |
createInLineCommentParsingState()
Factory method for the in-line comment (-- comment) parsing state. |
protected InSingleQuotesParsingState |
createInSingleQuotesParsingState()
Factory method for the single quotes ('text') parsing state. |
protected SqlStatementNormalParsingState |
createNormalParsingStates()
Creates all the parsing states needed by a script parser when in normal (not stored procedure) state and connects them together. |
ScriptParser |
createScriptParser(Reader scriptReader)
|
protected SqlStatementNormalParsingState |
createSqlStatementNormalParsingState()
Factory method for the normal sql statement parsing state. |
protected PlSqlBlockMatcher |
createStoredProcedureMatcher()
Factory method that returns the correct implementation of PlSqlBlockMatcher |
protected PlSqlBlockNormalParsingState |
createStoredProcedureNormalParsingState()
Factory method for the normal stored procedure parsing state. |
protected PlSqlBlockNormalParsingState |
createStoredProcedureParsingStates()
Creates all the parsing states needed by a script parser when in stored procedure state and connects them together. |
protected boolean |
isCurlyBraceBlockCommentSupported()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean backSlashEscapingEnabled
protected Properties scriptParameters
Constructor Detail |
---|
public DefaultScriptParserFactory(boolean backSlashEscapingEnabled, Properties scriptParameters)
Method Detail |
---|
public ScriptParser createScriptParser(Reader scriptReader)
createScriptParser
in interface ScriptParserFactory
protected SqlStatementNormalParsingState createNormalParsingStates()
protected PlSqlBlockNormalParsingState createStoredProcedureParsingStates()
protected SqlStatementNormalParsingState createSqlStatementNormalParsingState()
protected PlSqlBlockNormalParsingState createStoredProcedureNormalParsingState()
protected InLineCommentParsingState createInLineCommentParsingState()
protected InBlockCommentParsingState createInBlockCommentParsingState()
protected InCurlyBraceBlockCommentParsingState createInCurlyBraceBlockCommentParsingState()
protected InSingleQuotesParsingState createInSingleQuotesParsingState()
protected InDoubleQuotesParsingState createInDoubleQuotesParsingState()
protected EscapingParsingState createEscapingParsingState()
protected PlSqlBlockMatcher createStoredProcedureMatcher()
PlSqlBlockMatcher
protected boolean isCurlyBraceBlockCommentSupported()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |