public class ELParser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected ELContext |
_elContext |
protected boolean |
_isMethodExpr |
protected boolean |
_isParsingArgs |
Constructor and Description |
---|
ELParser(ELContext elContext,
java.lang.String string) |
ELParser(ELContext elContext,
java.lang.String string,
boolean isMethodExpr) |
Modifier and Type | Method and Description |
---|---|
protected void |
copyTo(ELParser parser)
Copy to the dest parser.
|
protected ELParser |
create(java.lang.String string) |
protected Expr |
createImplicitObjectExpr(java.lang.String name)
Creates the implicit object for the name.
|
protected java.lang.reflect.Method |
getStaticMethod(java.lang.String name)
Creates the implicit object for the name.
|
Expr |
parse()
Parses the expression string.
|
Expr |
parseInterpolate()
Parses interpolated code.
|
void |
setCheckEscape(boolean checkEscape)
Set true if escapes are checked.
|
protected final ELContext _elContext
protected final boolean _isMethodExpr
protected boolean _isParsingArgs
public ELParser(ELContext elContext, java.lang.String string)
public ELParser(ELContext elContext, java.lang.String string, boolean isMethodExpr)
protected ELParser create(java.lang.String string)
protected void copyTo(ELParser parser)
public void setCheckEscape(boolean checkEscape)
public Expr parse() throws ELParseException
ELParseException
public Expr parseInterpolate() throws ELParseException
ELParseException
protected Expr createImplicitObjectExpr(java.lang.String name)
protected java.lang.reflect.Method getStaticMethod(java.lang.String name) throws ELParseException
ELParseException