org.apache.myfaces.trinidadinternal.share.expl
Class ExpressionParser
java.lang.Object
org.apache.myfaces.trinidadinternal.share.expl.ExpressionParser
public abstract class ExpressionParser
- extends java.lang.Object
ExpressionParser is the abstraction for parsing expressions and literal
values.
- Version:
- $Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/share/expl/ExpressionParser.java#0 $) $Date: 10-nov-2005.19:00:13 $
- Author:
- The Oracle ADF Faces Team
Method Summary |
abstract java.lang.String |
getName()
gets the name of this bindingParser |
abstract boolean |
isBinding(ExpressionContext context,
java.lang.String attrURI,
java.lang.String attrName,
java.lang.String attrText)
|
abstract java.lang.Object |
parseExpression(ExpressionContext context,
java.lang.String text,
java.lang.Class<?> type)
Returns the parsed expression as a BoundValue or literal. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EL_EXPRESSION_PARSER_NAME
public static final java.lang.String EL_EXPRESSION_PARSER_NAME
- See Also:
- Constant Field Values
DATA_EXPRESSION_PARSER_NAME
public static final java.lang.String DATA_EXPRESSION_PARSER_NAME
- See Also:
- Constant Field Values
ExpressionParser
public ExpressionParser()
parseExpression
public abstract java.lang.Object parseExpression(ExpressionContext context,
java.lang.String text,
java.lang.Class<?> type)
throws ExplException
- Returns the parsed expression as a BoundValue or literal.
- Parameters:
context
- the binding contexttext
- the expression to parsetype
- the type of the parsed literal
or the return type of the parsed bound value
- Returns:
- the parsed expression as a BoundValue or literal
- Throws:
ExplException
isBinding
public abstract boolean isBinding(ExpressionContext context,
java.lang.String attrURI,
java.lang.String attrName,
java.lang.String attrText)
- Parameters:
context
- the binding contextattrURI
- the attribute namespaceattrName
- the attribute nameattrText
- the attribute string value
- Returns:
- true if the value for the specified attribute is not a literal
and needs to be parsed into a BoundValue by
parseExpression(org.apache.myfaces.trinidadinternal.share.expl.ExpressionContext, java.lang.String, java.lang.Class>)
.
getName
public abstract java.lang.String getName()
- gets the name of this bindingParser
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.