com.caucho.el
Class ELParser

java.lang.Object
  extended by com.caucho.el.ELParser
Direct Known Subclasses:
JsfELParser, JspELParser

public class ELParser
extends java.lang.Object

Parses the expression.


Field Summary
protected  ELContext _elContext
           
protected  boolean _isMethodExpr
           
 
Constructor Summary
ELParser(ELContext elContext, java.lang.String string)
           
ELParser(ELContext elContext, java.lang.String string, boolean isMethodExpr)
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_elContext

protected final ELContext _elContext

_isMethodExpr

protected final boolean _isMethodExpr
Constructor Detail

ELParser

public ELParser(ELContext elContext,
                java.lang.String string)

ELParser

public ELParser(ELContext elContext,
                java.lang.String string,
                boolean isMethodExpr)
Method Detail

create

protected ELParser create(java.lang.String string)

copyTo

protected void copyTo(ELParser parser)
Copy to the dest parser.


setCheckEscape

public void setCheckEscape(boolean checkEscape)
Set true if escapes are checked.


parse

public Expr parse()
           throws ELParseException
Parses the expression string.

Throws:
ELParseException

parseInterpolate

public Expr parseInterpolate()
                      throws ELParseException
Parses interpolated code.

Throws:
ELParseException

createImplicitObjectExpr

protected Expr createImplicitObjectExpr(java.lang.String name)
Creates the implicit object for the name.


getStaticMethod

protected java.lang.reflect.Method getStaticMethod(java.lang.String name)
                                            throws ELParseException
Creates the implicit object for the name.

Throws:
ELParseException