org.springframework.binding.expression.support
Class OgnlExpressionParser
java.lang.Object
org.springframework.binding.expression.support.AbstractExpressionParser
org.springframework.binding.expression.support.OgnlExpressionParser
- All Implemented Interfaces:
- ExpressionParser
public class OgnlExpressionParser
- extends AbstractExpressionParser
An expression parser that parses Ognl expressions.
- Author:
- Keith Donald
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OgnlExpressionParser
public OgnlExpressionParser()
doParseExpression
protected Expression doParseExpression(java.lang.String expressionString)
throws ParserException
- Description copied from class:
AbstractExpressionParser
- Template method for parsing a filtered expression string. Subclasses should override.
- Specified by:
doParseExpression
in class AbstractExpressionParser
- Parameters:
expressionString
- the expression string
- Returns:
- the parsed expression
- Throws:
ParserException
- an exception occured during parsing
doParseSettableExpression
public SettableExpression doParseSettableExpression(java.lang.String expressionString)
throws ParserException
- Description copied from class:
AbstractExpressionParser
- Template method for parsing a filtered settable expression string. Subclasses should override.
- Specified by:
doParseSettableExpression
in class AbstractExpressionParser
- Parameters:
expressionString
- the expression string
- Returns:
- the parsed expression
- Throws:
ParserException
- an exception occured during parsing
addPropertyAccessor
public void addPropertyAccessor(java.lang.Class clazz,
ognl.PropertyAccessor propertyAccessor)
- Add a property access strategy for the given class.
- Parameters:
clazz
- the class that contains properties needing accesspropertyAccessor
- the property access strategy
Copyright � 2004-2007. All Rights Reserved.