All Implemented Interfaces:
AutoCloseable

  • Constructor Summary

    Constructors

    Creates a new XML encoder to write out JavaBeans to the stream out using an XML encoding.

    Creates a new XML encoder to write out JavaBeans to the stream out using the given charset starting from the given indentation.

  • Method Summary

    void

    close()

    This method calls flush, writes the closing postamble and then closes the output stream associated with this stream.

    void

    flush()

    This method writes out the preamble associated with the XML encoding if it has not been written already and then writes out all of the values that been written to the stream since the last time flush was called.

    getOwner()

    Gets the owner of this encoder.

    void

    Sets the owner of this encoder to owner.

    void

    Records the Expression so that the Encoder will produce the actual output when the stream is flushed.

    void

    Write an XML representation of the specified object to the output.

    void

    Records the Statement so that the Encoder will produce the actual output when the stream is flushed.

  • Constructor Details

    • XMLEncoder

    • XMLEncoder

  • Method Details

    • setOwner

    • getOwner

    • writeObject

    • writeStatement

    • writeExpression

    • flush

    • close