{
}
public void save(Saveable s, Writer out) throws java.io.IOException
{
ThreadGroup save = (ThreadGroup)s;
out.write("<ThreadGroup name=\"");
out.write(JMeterHandler.convertToXML(save.getName()));
out.write("\" numThreads=\"");
out.write(""+save.getNumThreads());
out.write("\">\n");
JMeterHandler.writeControllers(((GenericController)
save.getSamplerController()).getSubControllers(),out);
JMeterHandler.writeConfigElements(((GenericController)
save.getSamplerController()).getConfigElements(),out);
JMeterHandler.writeTimers(save.getTimers(),out);
JMeterHandler.writeListeners(save.getListeners(),out);
out.write("</ThreadGroup>\n");
}