| org.apache.cocoon.forms.expression.ExpressionManager
All known Subclasses: org.apache.cocoon.forms.expression.DefaultExpressionManager,
ExpressionManager | public interface ExpressionManager (Code) | | Work interface for the component that creates Expression objects.
The reason for centralising the creation of expressions is so that
new functions can be registered in one place.
version: $Id: ExpressionManager.java 449149 2006-09-23 03:58:05Z crossley $ |
Method Summary | |
Expression | parse(String expression) Parse the given expression.
Parameters: expression - The string containing the expression to parse. | List | parseVariables(String expressionString) Parse the given expression to extract variables.
Parameters: expressionString - The string containing the expression to parse. |
parse | Expression parse(String expression) throws ParseException, ExpressionException(Code) | | Parse the given expression.
Parameters: expression - The string containing the expression to parse. The Expression object resulting from parse. throws: ParseException - If something goes wrong while parsing. throws: ExpressionException - If the expression has been parsed successfully but is invalid. |
parseVariables | List parseVariables(String expressionString) throws ParseException, ExpressionException(Code) | | Parse the given expression to extract variables.
Parameters: expressionString - The string containing the expression to parse. A List of org.outerj.expression.VariableFunction, one for each variable used in the expression. See Also: org.outerj.expression.VariableFunction.getVariableName throws: ParseException - If something goes wrong while parsing. throws: ExpressionException - If the expression has been parsed successfully but is invalid. |
|
|