org.jicengine.expression
Class CompositeParser

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

public class CompositeParser
extends java.lang.Object
implements 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
 
Constructor Summary
CompositeParser(Parser[] parsers)
           
 
Method Summary
 Operation parse(java.lang.String expression)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeParser

public CompositeParser(Parser[] parsers)
Method Detail

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