|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ix.test.PlanBuilderTest
public class PlanBuilderTest
Constructs a plan and outputs it in XML. By default, it uses
an ExamplePlanBuilder
to construct the plan, but a
different PlanBuilder
class may be tested by giving
an instance to test(PlanBuilder)
.
Field Summary | |
---|---|
protected org.jdom.output.XMLOutputter |
out
|
Constructor Summary | |
---|---|
PlanBuilderTest()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] argv)
Main program for testing. |
Plan |
makeExamplePlan(PlanBuilder pb)
Constructs a simple plan containing some issues, activities, constraints, and annotations. |
static PlanBuilder |
makePlanBuilder(java.lang.Class c)
Makes a PlanBuilder by calling the 0-argument constuctor of the specified class. |
void |
test(PlanBuilder pb)
Calls makeExamplePlan(PlanBuilder) and prints the
resulting plan as XML to System.out. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.jdom.output.XMLOutputter out
Constructor Detail |
---|
public PlanBuilderTest()
Method Detail |
---|
public static void main(java.lang.String[] argv) throws java.io.IOException
java ix.test.PlanBuilderTest \ -plan-builder-class=ix.icore.plan.build.SimplePlanBuilderThe default is ix.plan.build.ExamplePlanBuilder.
java.io.IOException
public static PlanBuilder makePlanBuilder(java.lang.Class c)
public void test(PlanBuilder pb) throws java.io.IOException
makeExamplePlan(PlanBuilder)
and prints the
resulting plan as XML to System.out.
java.io.IOException
XML.objectToDocument(Object)
public Plan makeExamplePlan(PlanBuilder pb)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |