org.apache.commons.el

Class PropertySuffix


public class PropertySuffix
extends ArraySuffix

Represents an operator that obtains the value of another value's property. This is a specialization of ArraySuffix - a.b is equivalent to a["b"]
Version:
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: luehe $
Authors:
Nathan Abramson - Art Technology Group
Shawn Bayern

Field Summary

(package private) String
mName

Fields inherited from class org.apache.commons.el.ArraySuffix

mIndex, sNoArgs

Constructor Summary

PropertySuffix(String pName)
Constructor

Method Summary

(package private) Object
evaluateIndex(VariableResolver pResolver, FunctionMapper functions, Logger pLogger)
Gets the value of the index
String
getExpressionString()
Returns the expression in the expression language syntax
String
getName()
(package private) String
getOperatorSymbol()
Returns the operator symbol
void
setName(String pName)

Methods inherited from class org.apache.commons.el.ArraySuffix

evaluate, evaluateIndex, getExpressionString, getIndex, getOperatorSymbol, setIndex

Methods inherited from class org.apache.commons.el.ValueSuffix

evaluate, getExpressionString

Field Details

mName

(package private)  String mName

Constructor Details

PropertySuffix

public PropertySuffix(String pName)
Constructor

Method Details

evaluateIndex

(package private)  Object evaluateIndex(VariableResolver pResolver,
                                        FunctionMapper functions,
                                        Logger pLogger)
            throws ELException
Gets the value of the index
Overrides:
evaluateIndex in interface ArraySuffix

getExpressionString

public String getExpressionString()
Returns the expression in the expression language syntax
Overrides:
getExpressionString in interface ArraySuffix

getName

public String getName()

getOperatorSymbol

(package private)  String getOperatorSymbol()
Returns the operator symbol
Overrides:
getOperatorSymbol in interface ArraySuffix

setName

public void setName(String pName)

Copyright (c) 2001-2002 - Apache Software Foundation