All Packages Class Hierarchy This Package Previous Next Index
Class org.webmacro.engine.List
java.lang.Object
|
+----org.webmacro.engine.List
- public class List
- extends Object
- implements Macro
A list is a sequence of terms. It's used in two common cases:
the items in an array initializer; and the arguments to a
method call.
-
evaluate(Object)
-
-
main(String[])
-
-
parse(ParseTool)
- Create a Macro representing a List.
-
toString()
-
-
write(Writer, Object)
-
parse
public static final Object parse(ParseTool in) throws ParseException, IOException
- Create a Macro representing a List. These evaluate to
type Objects[], after recursively resolving macros in the list.
write
public void write(Writer out,
Object context) throws InvalidContextException, IOException
toString
public String toString()
- Overrides:
- toString in class Object
evaluate
public Object evaluate(Object context) throws InvalidContextException
main
public static void main(String arg[])
All Packages Class Hierarchy This Package Previous Next Index