|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ibatis.ognl.OgnlParser
public class OgnlParser
OgnlParser is a JavaCC parser class; it translates OGNL expressions into abstract syntax trees (ASTs) that can then be interpreted by the getValue and setValue methods.
Field Summary | |
---|---|
Token |
jj_nt
|
protected org.apache.ibatis.ognl.JJTOgnlParserState |
jjtree
|
boolean |
lookingAhead
|
Token |
token
|
OgnlParserTokenManager |
token_source
|
Fields inherited from interface org.apache.ibatis.ognl.OgnlParserTreeConstants |
---|
JJTADD, JJTAND, JJTASSIGN, JJTBITAND, JJTBITNEGATE, JJTBITOR, JJTCHAIN, JJTCONST, JJTCTOR, JJTDIVIDE, JJTEQ, JJTEVAL, JJTGREATER, JJTGREATEREQ, JJTIN, JJTINSTANCEOF, JJTKEYVALUE, JJTLESS, JJTLESSEQ, JJTLIST, JJTMAP, JJTMETHOD, JJTMULTIPLY, JJTNEGATE, jjtNodeName, JJTNOT, JJTNOTEQ, JJTNOTIN, JJTOR, JJTPROJECT, JJTPROPERTY, JJTREMAINDER, JJTROOTVARREF, JJTSELECT, JJTSELECTFIRST, JJTSELECTLAST, JJTSEQUENCE, JJTSHIFTLEFT, JJTSHIFTRIGHT, JJTSTATICFIELD, JJTSTATICMETHOD, JJTSUBTRACT, JJTTEST, JJTTHISVARREF, JJTUNSIGNEDSHIFTRIGHT, JJTVARREF, JJTVOID, JJTXOR |
Fields inherited from interface org.apache.ibatis.ognl.OgnlParserConstants |
---|
BACK_CHAR_ESC, BACK_CHAR_LITERAL, CHAR_LITERAL, DEC_DIGITS, DEC_FLT, DEFAULT, DIGIT, DYNAMIC_SUBSCRIPT, EOF, ESC, EXPONENT, FLT_LITERAL, FLT_SUFF, IDENT, INT_LITERAL, LETTER, STRING_ESC, STRING_LITERAL, tokenImage, WithinBackCharLiteral, WithinCharLiteral, WithinStringLiteral |
Constructor Summary | |
---|---|
OgnlParser(java.io.InputStream stream)
|
|
OgnlParser(OgnlParserTokenManager tm)
|
|
OgnlParser(java.io.Reader stream)
|
Method Summary | |
---|---|
void |
additiveExpression()
|
void |
andExpression()
|
void |
assignmentExpression()
|
java.lang.String |
className()
|
java.lang.String |
classReference()
|
void |
conditionalTestExpression()
|
void |
constructorCall()
|
void |
disable_tracing()
|
void |
enable_tracing()
|
void |
equalityExpression()
|
void |
exclusiveOrExpression()
|
void |
expression()
|
ParseException |
generateParseException()
|
Token |
getNextToken()
|
Token |
getToken(int index)
|
void |
inclusiveOrExpression()
|
void |
index()
|
void |
keyValueExpression()
|
void |
logicalAndExpression()
|
void |
logicalOrExpression()
|
void |
methodCall()
|
void |
multiplicativeExpression()
|
void |
navigationChain()
|
void |
primaryExpression()
|
void |
projection()
Apply an expression to all elements of a collection, creating a new collection as the result. |
void |
propertyName()
|
void |
ReInit(java.io.InputStream stream)
|
void |
ReInit(OgnlParserTokenManager tm)
|
void |
ReInit(java.io.Reader stream)
|
void |
relationalExpression()
|
void |
selectAll()
Apply a boolean expression to all elements of a collection, creating a new collection containing those elements for which the expression returned true. |
void |
selectFirst()
Apply a boolean expression to all elements of a collection, creating a new collection containing those elements for the first element for which the expression returned true. |
void |
selection()
|
void |
selectLast()
Apply a boolean expression to all elements of a collection, creating a new collection containing those elements for the first element for which the expression returned true. |
void |
shiftExpression()
|
void |
staticMethodCall(java.lang.String className)
|
void |
staticReference()
|
Node |
topLevelExpression()
This is the top-level construct of OGNL. |
void |
unaryExpression()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.apache.ibatis.ognl.JJTOgnlParserState jjtree
public OgnlParserTokenManager token_source
public Token token
public Token jj_nt
public boolean lookingAhead
Constructor Detail |
---|
public OgnlParser(java.io.InputStream stream)
public OgnlParser(java.io.Reader stream)
public OgnlParser(OgnlParserTokenManager tm)
Method Detail |
---|
public final Node topLevelExpression() throws ParseException
ParseException
public final void expression() throws ParseException
ParseException
public final void assignmentExpression() throws ParseException
ParseException
public final void conditionalTestExpression() throws ParseException
ParseException
public final void logicalOrExpression() throws ParseException
ParseException
public final void logicalAndExpression() throws ParseException
ParseException
public final void inclusiveOrExpression() throws ParseException
ParseException
public final void exclusiveOrExpression() throws ParseException
ParseException
public final void andExpression() throws ParseException
ParseException
public final void equalityExpression() throws ParseException
ParseException
public final void relationalExpression() throws ParseException
ParseException
public final void shiftExpression() throws ParseException
ParseException
public final void additiveExpression() throws ParseException
ParseException
public final void multiplicativeExpression() throws ParseException
ParseException
public final void unaryExpression() throws ParseException
ParseException
public final void navigationChain() throws ParseException
ParseException
public final void primaryExpression() throws ParseException
ParseException
public final void keyValueExpression() throws ParseException
ParseException
public final void staticReference() throws ParseException
ParseException
public final java.lang.String classReference() throws ParseException
ParseException
public final java.lang.String className() throws ParseException
ParseException
public final void constructorCall() throws ParseException
ParseException
public final void propertyName() throws ParseException
ParseException
public final void staticMethodCall(java.lang.String className) throws ParseException
ParseException
public final void methodCall() throws ParseException
ParseException
public final void projection() throws ParseException
ParseException
public final void selection() throws ParseException
ParseException
public final void selectAll() throws ParseException
ParseException
public final void selectFirst() throws ParseException
ParseException
public final void selectLast() throws ParseException
ParseException
public final void index() throws ParseException
ParseException
public void ReInit(java.io.InputStream stream)
public void ReInit(java.io.Reader stream)
public void ReInit(OgnlParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |