public Object evaluate(Context context) throws JaxenException
{
String namespaceURI =
context.translateNamespacePrefixToUri( getPrefix() );
Function func = context.getFunction( namespaceURI,
getPrefix(),
getFunctionName() );
List paramExprs = getParameters();
int paramSize = paramExprs.size();
List paramValues = new ArrayList( paramSize );
Expr eachParam = null;
Object eachValue = null;
for ( int i = 0 ; i < paramSize ; ++i )
{
eachParam = (Expr) paramExprs.get( i );
eachValue = eachParam.evaluate( context );
paramValues.add( eachValue );
}
return func.call( context, paramValues );
}