Class SSPTParser
- java.lang.Object
-
- org.apache.camel.component.sql.stored.template.generated.SSPTParser
-
- All Implemented Interfaces:
SSPTParserConstants
public class SSPTParser extends Object implements SSPTParserConstants
-
-
Field Summary
Fields Modifier and Type Field Description Tokenjj_ntNext token.TokentokenCurrent token.SSPTParserTokenManagertoken_sourceGenerated Token Manager.-
Fields inherited from interface org.apache.camel.component.sql.stored.template.generated.SSPTParserConstants
COMMA, DEFAULT, DIGIT, EOF, IDENTIFIER, LETTER, NUMBER, PARAMETER_NAME, PARAMETER_POS_TOKEN, PROCEDURE_BEGIN, PROCEDURE_END, SCALE, SEPARATOR, SIMPLE_EXP_TOKEN, SPECIAL, tokenImage, WHITESPACE
-
-
Constructor Summary
Constructors Constructor Description SSPTParser(InputStream stream)Constructor with InputStream.SSPTParser(InputStream stream, String encoding)Constructor with InputStream and supplied encodingSSPTParser(Reader stream)Constructor.SSPTParser(Reader reader, org.apache.camel.spi.ClassResolver classResolver)SSPTParser(SSPTParserTokenManager tm)Constructor with generated Token Manager.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisable_tracing()Disable tracing.voidenable_tracing()Enable tracing.ParseExceptiongenerateParseException()Generate ParseException.TokengetNextToken()Get the next Token.TokengetToken(int index)Get the specific Token.InOutParameterInOutParameter()InParameterInParameter()TokenInParameterSrc()StringOutHeader()OutParameterOutParameter()ObjectParameter()StringParameterName()TokenParameterSqlType()Templateparse()voidReInit(InputStream stream)Reinitialise.voidReInit(InputStream stream, String encoding)Reinitialise.voidReInit(Reader stream)Reinitialise.voidReInit(SSPTParserTokenManager tm)Reinitialise.IntegerScale()
-
-
-
Field Detail
-
token_source
public SSPTParserTokenManager token_source
Generated Token Manager.
-
token
public Token token
Current token.
-
jj_nt
public Token jj_nt
Next token.
-
-
Constructor Detail
-
SSPTParser
public SSPTParser(Reader reader, org.apache.camel.spi.ClassResolver classResolver)
-
SSPTParser
public SSPTParser(InputStream stream)
Constructor with InputStream.
-
SSPTParser
public SSPTParser(InputStream stream, String encoding)
Constructor with InputStream and supplied encoding
-
SSPTParser
public SSPTParser(Reader stream)
Constructor.
-
SSPTParser
public SSPTParser(SSPTParserTokenManager tm)
Constructor with generated Token Manager.
-
-
Method Detail
-
parse
public final Template parse() throws ParseException
- Throws:
ParseException
-
Parameter
public final Object Parameter() throws ParseException
- Throws:
ParseException
-
InParameter
public final InParameter InParameter() throws ParseException
- Throws:
ParseException
-
OutParameter
public final OutParameter OutParameter() throws ParseException
- Throws:
ParseException
-
InOutParameter
public final InOutParameter InOutParameter() throws ParseException
- Throws:
ParseException
-
ParameterName
public final String ParameterName() throws ParseException
- Throws:
ParseException
-
Scale
public final Integer Scale() throws ParseException
- Throws:
ParseException
-
ParameterSqlType
public final Token ParameterSqlType() throws ParseException
- Throws:
ParseException
-
OutHeader
public final String OutHeader() throws ParseException
- Throws:
ParseException
-
InParameterSrc
public final Token InParameterSrc() throws ParseException
- Throws:
ParseException
-
ReInit
public void ReInit(InputStream stream)
Reinitialise.
-
ReInit
public void ReInit(InputStream stream, String encoding)
Reinitialise.
-
ReInit
public void ReInit(Reader stream)
Reinitialise.
-
ReInit
public void ReInit(SSPTParserTokenManager tm)
Reinitialise.
-
getNextToken
public final Token getNextToken()
Get the next Token.
-
getToken
public final Token getToken(int index)
Get the specific Token.
-
generateParseException
public ParseException generateParseException()
Generate ParseException.
-
enable_tracing
public final void enable_tracing()
Enable tracing.
-
disable_tracing
public final void disable_tracing()
Disable tracing.
-
-