org.jicengine.expression
Class LJEParser

java.lang.Object
  extended byorg.jicengine.expression.LJEParser
All Implemented Interfaces:
Parser

public class LJEParser
extends java.lang.Object
implements Parser

'Limited Java Expression'-parser.

Author:
.timo

Field Summary
 
Fields inherited from interface org.jicengine.expression.Parser
ARRAY_LENGTH_END, ARRAY_LENGTH_START, BOOLEAN_FALSE, BOOLEAN_TRUE, METHOD_PARAMS_END, METHOD_PARAMS_START, OPERATION_SEPARATOR, STRING_MARKER
 
Method Summary
static LJEParser getInstance()
           
 Operation parse(java.lang.String expression)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static LJEParser getInstance()

parse

public Operation parse(java.lang.String expression)
                throws SyntaxException
Specified by:
parse in interface Parser
Returns:
Parsers may return null in order to signal 'abort' i.e. if the syntax of the expression is not understood by the parser implementation. i.e. NumberParser returns null if the expression is a string-expression..
Throws:
SyntaxException