org.webmacro.engine
Class FunctionCall

java.lang.Object
  extended byorg.webmacro.util.PropertyMethod
      extended byorg.webmacro.engine.FunctionCall
All Implemented Interfaces:
Named

public final class FunctionCall
extends PropertyMethod

Holder for standalone function calls $a($foo)

Since:
1.1
Author:
Brian Goetz

Constructor Summary
FunctionCall(java.lang.String name, Macro args)
          Create a new FunctionCall
FunctionCall(java.lang.String name, java.lang.Object[] args)
          Create a new FunctionCall
 
Methods inherited from class org.webmacro.util.PropertyMethod
getArguments, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FunctionCall

public FunctionCall(java.lang.String name,
                    java.lang.Object[] args)
Create a new FunctionCall

Parameters:
name - the name of the method to call
args - the arguments, including Macro objects

FunctionCall

public FunctionCall(java.lang.String name,
                    Macro args)
Create a new FunctionCall

Parameters:
name - the name of the method to call
args - the arguments, including Macro objects