net.sf.morph.lang.support
Interface ExpressionParser
- All Known Implementing Classes: 
- BaseExpressionParser, SimpleExpressionParser
- public interface ExpressionParser 
A basic parser that breaks an expression into an array of tokens.
- Since:
- Nov 28, 2004
- Author:
- Matt Sgarlata
| Method Summary | 
|  java.lang.String[] | parse(java.lang.String expression)Parses an expression and returns the tokens found in the expression.
 | 
 
parse
java.lang.String[] parse(java.lang.String expression)
                         throws InvalidExpressionException
- Parses an expression and returns the tokens found in the expression.
 
- 
- Parameters:
- expression- the expression
- Returns:
- the tokens found in the expression
- Throws:
- InvalidExpressionException- if the supplied expression is invalid
 
Copyright © 2004-2008.