1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 package org.webmacro.engine;
25
26 import org.webmacro.Macro;
27 import org.webmacro.util.PropertyMethod;
28
29 /***
30 * Holder for standalone function calls $a($foo)
31 *
32 * @author Brian Goetz
33 * @since 1.1
34 */
35
36 final public class FunctionCall extends PropertyMethod
37 {
38 /***
39 * Create a new FunctionCall
40 * @param name the name of the method to call
41 * @param args the arguments, including Macro objects
42 */
43 public FunctionCall (String name, Object[] args)
44 {
45 super(name, args);
46 }
47
48 /***
49 * Create a new FunctionCall
50 * @param name the name of the method to call
51 * @param args the arguments, including Macro objects
52 */
53 public FunctionCall (String name, Macro args)
54 {
55 super(name, args);
56 }
57 }