net.sf.jexpel.internal.parser
Class ExpressionParser

java.lang.Object
  extended by net.sf.jexpel.Parser
      extended by net.sf.jexpel.internal.parser.ExpressionParser
All Implemented Interfaces:
MessageCodes

public class ExpressionParser
extends Parser
implements MessageCodes


Field Summary
 
Fields inherited from interface net.sf.jexpel.messages.MessageCodes
ARRAY_ACCESS, C_NOT_FOUND, COND_TYPES, CONDITIONAL, CONSTANT, EXPECTED, INVALID, INVALID_ARG, LBRA_WO_RBRA, LPAR_WO_RPAR, M_NOT_FOUND, NEAR_TOKEN, NO_ARRAY, PROP_RO, PROP_WO, READ_ONLY
 
Constructor Summary
ExpressionParser()
          Creates a ExpressionParser
 
Method Summary
 Expression parse(java.lang.Class<?> rootClass, java.lang.String expression)
          Parses the expression
 
Methods inherited from class net.sf.jexpel.Parser
getParser
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionParser

public ExpressionParser()
Creates a ExpressionParser

Method Detail

parse

public Expression parse(java.lang.Class<?> rootClass,
                        java.lang.String expression)
                 throws ExpressionException
Description copied from class: Parser
Parses the expression

Specified by:
parse in class Parser
Parameters:
rootClass - the root class which the expression will be executed
expression - the expression string
Returns:
the expression tree
Throws:
ExpressionException