net.sourceforge.templat.expr
Class MethodCall
java.lang.Object
net.sourceforge.templat.expr.MethodCall
- All Implemented Interfaces:
- Selector
class MethodCall
- extends Object
- implements Selector
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodCall
public MethodCall(String sNameMethod,
ArrayList<Object> rArg)
- Parameters:
sNameMethod
- rArg
-
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