That sounds similar to java.io.Writer. Maybe this should be a HelpWriter?

On Wed, Sep 25, 2024, 7:11 PM Claude Warren <cla...@xenei.com> wrote:

> 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
>

Reply via email to