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.


Method Index

 o evaluate(Object)
 o main(String[])
 o parse(ParseTool)
Create a Macro representing a List.
 o toString()
 o write(Writer, Object)

Methods

 o 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.

 o write
 public void write(Writer out,
                   Object context) throws InvalidContextException, IOException
 o toString
 public String toString()
Overrides:
toString in class Object
 o evaluate
 public Object evaluate(Object context) throws InvalidContextException
 o main
 public static void main(String arg[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index