UIX 2.2.16

oracle.cabo.ui.expl
Class ELExpressionParser

java.lang.Object
  |
  +--oracle.cabo.share.expl.ExpressionParser
        |
        +--oracle.cabo.ui.expl.ELExpressionParser

public final class ELExpressionParser
extends ExpressionParser

ELExpressionParser is the BoundValues and literal parser for the "el" binding style.

For example, text="${bean.property}" is supported by this binding style.


Field Summary
static java.lang.String MARLIN_PREFIX
          this prefix is guaranteed to map to the UIConstants.MARLIN_NAMESPACE
 
Fields inherited from class oracle.cabo.share.expl.ExpressionParser
DATA_EXPRESSION_PARSER_NAME, EL_EXPRESSION_PARSER_NAME
 
Method Summary
 java.lang.String getName()
          gets the name of this bindingParser
 boolean isBinding(ExpressionContext context, java.lang.String attrURI, java.lang.String attrName, java.lang.String attrText)
           
 java.lang.Object parseExpression(ExpressionContext context, java.lang.String attrText, java.lang.Class attrType)
          Returns the parsed expression as a BoundValue or literal.
static ELExpressionParser sharedInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MARLIN_PREFIX

public static final java.lang.String MARLIN_PREFIX
this prefix is guaranteed to map to the UIConstants.MARLIN_NAMESPACE
Method Detail

sharedInstance

public static ELExpressionParser sharedInstance()

getName

public java.lang.String getName()
Description copied from class: ExpressionParser
gets the name of this bindingParser
Overrides:
getName in class ExpressionParser

isBinding

public boolean isBinding(ExpressionContext context,
                         java.lang.String attrURI,
                         java.lang.String attrName,
                         java.lang.String attrText)
Overrides:
isBinding in class ExpressionParser
Following copied from class: oracle.cabo.share.expl.ExpressionParser
Parameters:
context - the binding context
attrURI - the attribute namespace
attrName - the attribute name
attrText - 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 ExpressionParser.parseExpression(oracle.cabo.share.expl.ExpressionContext, java.lang.String, java.lang.Class).

parseExpression

public java.lang.Object parseExpression(ExpressionContext context,
                                        java.lang.String attrText,
                                        java.lang.Class attrType)
                                 throws ExplException
Description copied from class: ExpressionParser
Returns the parsed expression as a BoundValue or literal.
Overrides:
parseExpression in class ExpressionParser
Following copied from class: oracle.cabo.share.expl.ExpressionParser
Parameters:
context - the binding context
text - the expression to parse
type - the type of the parsed literal or the return type of the parsed bound value
Returns:
the parsed expression as a BoundValue or literal

UIX 2.2.16