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 Token
jj_nt
Next token.Token
token
Current token.SSPTParserTokenManager
token_source
Generated 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 void
disable_tracing()
Disable tracing.void
enable_tracing()
Enable tracing.ParseException
generateParseException()
Generate ParseException.Token
getNextToken()
Get the next Token.Token
getToken(int index)
Get the specific Token.InOutParameter
InOutParameter()
InParameter
InParameter()
Token
InParameterSrc()
String
OutHeader()
OutParameter
OutParameter()
Object
Parameter()
String
ParameterName()
Token
ParameterSqlType()
Template
parse()
void
ReInit(InputStream stream)
Reinitialise.void
ReInit(InputStream stream, String encoding)
Reinitialise.void
ReInit(Reader stream)
Reinitialise.void
ReInit(SSPTParserTokenManager tm)
Reinitialise.Integer
Scale()
-
-
-
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.
-
-