Actually the Producer constructor takes an "Appendable" as an argument and then provides methods like
printPara("Some text here") Which would output a paragraph of "Some text here" TestProducer appends "Some text here\n\n" (where \n is System.lineSeparator) to the appendable XmlProducer would append something like "<p>Some text here</p>" to the appendable. (they really are serializing the data to an output format) Claude -- LinkedIn: http://www.linkedin.com/in/claudewarren