public String toXML(String batchJobId, boolean prettyPrint) {
		XMLGeneratorVisitor xgv = new XMLGeneratorVisitor(batchJobId, prettyPrint);
		xgv.accept(this);
		return xgv.getXmlString();
	}
@param batchJobId the id that will be inserted into the XML document for the batch:job element
@param prettyPrint determine if the XML should be human readable.
@return this AST converted to an XML form
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/job/dsl/JobSpecification.java