org.apache.commons.jexl.util

Class GetExecutor

public class GetExecutor extends AbstractExecutor

Executor that simply tries to execute a get(key) operation. This will try to find a get(key) method for any type of object, not just objects that implement the Map interface as was previously the case.

Since: 1.0

Version: $Id: GetExecutor.java 398171 2006-04-29 14:57:29Z dion $

Constructor Summary
GetExecutor(Log r, Introspector ispect, Class c, String key)
Default constructor.
Method Summary
Objectexecute(Object o)

Constructor Detail

GetExecutor

public GetExecutor(Log r, Introspector ispect, Class c, String key)
Default constructor.

Parameters: r The instance log. ispect The JEXL introspector. c The class being examined. key The key for the get(key) operation.

Throws: Exception Failure while trying to obtain the pertinent method.

Method Detail

execute

public Object execute(Object o)
{@inheritDoc }
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.