net.sourceforge.templat.expr
Class MethodCall

java.lang.Object
  extended by net.sourceforge.templat.expr.MethodCall
All Implemented Interfaces:
Selector

 class MethodCall
extends Object
implements Selector


Constructor Summary
MethodCall(String sNameMethod, ArrayList<Object> rArg)
           
 
Method Summary
 Object apply(Object var)
          Applies this selector to the given variable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodCall

public MethodCall(String sNameMethod,
                  ArrayList<Object> rArg)
Parameters:
sNameMethod -
rArg -
Method Detail

apply

public Object apply(Object var)
             throws TemplateParsingException
Description copied from interface: Selector
Applies this selector to the given variable.

Specified by:
apply in interface Selector
Parameters:
var - variable to apply this selector to
Returns:
the result of applying this selector to the given variable
Throws:
TemplateParsingException