public class GeneratorSetDocWriter extends Object implements Closeable
IGeneratorSet
in the form of an XML document.Modifier | Constructor and Description |
---|---|
|
GeneratorSetDocWriter()
Creates a new GeneratorSetDocWriter object that writes to standard output.
|
|
GeneratorSetDocWriter(OutputStream stream)
Creates a new GeneratorSetDocWriter object that writes to the given stream.
|
|
GeneratorSetDocWriter(Writer writer)
Creates a new GeneratorSetDocWriter object that writes to the given stream.
|
protected |
GeneratorSetDocWriter(XmlWriter writer)
Creates a new GeneratorSetDocWriter object that writes to the given stream.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the writer.
|
void |
flush()
Flushes the writer.
|
void |
write(IGeneratorSet generatorSet)
Writes the given generator definition in the form of an XML document.
|
protected void |
writeCombiner(TupleCombiner combiner)
Writes the given combiner definition.
|
protected void |
writeExcluded(String var)
Writes the given excluded variable definition.
|
protected void |
writeGenerator(String function,
ITestCaseGenerator generator)
Writes the given generator definition.
|
protected void |
writeIncluded(String var)
Writes the given included variable definition.
|
protected void |
writeOnceTuple(TupleRef tuple)
Writes the given once-only tuple definition.
|
protected void |
writeTupleGenerator(String function,
TupleGenerator generator)
Writes the given generator definition.
|
protected void |
writeVarBinding(VarBinding binding)
Writes the given variable binding definition.
|
public GeneratorSetDocWriter()
public GeneratorSetDocWriter(OutputStream stream)
public GeneratorSetDocWriter(Writer writer)
protected GeneratorSetDocWriter(XmlWriter writer)
public void write(IGeneratorSet generatorSet)
protected void writeGenerator(String function, ITestCaseGenerator generator)
protected void writeTupleGenerator(String function, TupleGenerator generator)
protected void writeCombiner(TupleCombiner combiner)
protected void writeOnceTuple(TupleRef tuple)
protected void writeVarBinding(VarBinding binding)
protected void writeIncluded(String var)
protected void writeExcluded(String var)
public void flush()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2024 The Cornutum Project. All rights reserved.