org.apache.commons.el
Class ValueSuffix

java.lang.Object
  extended by org.apache.commons.el.ValueSuffix
Direct Known Subclasses:
ArraySuffix

public abstract class ValueSuffix
extends Object

Represents an element that can appear as a suffix in a complex value, such as a property or index operator, or a method call (should they ever need to be supported).

Version:
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: bayard $
Author:
Nathan Abramson - Art Technology Group, Shawn Bayern

Constructor Summary
ValueSuffix()
           
 
Method Summary
abstract  ValueSuffix bindFunctions(javax.servlet.jsp.el.FunctionMapper functions)
           
abstract  Object evaluate(Object pValue, javax.servlet.jsp.el.VariableResolver pResolver, javax.servlet.jsp.el.FunctionMapper functions)
          Evaluates the expression in the given context, operating on the given value.
abstract  String getExpressionString()
          Returns the expression in the expression language syntax
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueSuffix

public ValueSuffix()
Method Detail

getExpressionString

public abstract String getExpressionString()
Returns the expression in the expression language syntax


evaluate

public abstract Object evaluate(Object pValue,
                                javax.servlet.jsp.el.VariableResolver pResolver,
                                javax.servlet.jsp.el.FunctionMapper functions)
                         throws javax.servlet.jsp.el.ELException
Evaluates the expression in the given context, operating on the given value.

Throws:
javax.servlet.jsp.el.ELException

bindFunctions

public abstract ValueSuffix bindFunctions(javax.servlet.jsp.el.FunctionMapper functions)
                                   throws javax.servlet.jsp.el.ELException
Throws:
javax.servlet.jsp.el.ELException


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.