The XMLPrintStream Class

The public interface to the XMLPrintStream class can be found in the curam.util.xml.impl package within the SDEJ JavaDoc.

In use the following basic pattern will be followed:

  1. Create a new instance of the XMLPrintStream class.
  2. Set the various printing options.
  3. Open the connection to the XML Server.
  4. Write to the print stream object. (This will usually be done by an XMLDocument object).
  5. Close the print stream object to initiate the print job.

The following subsections will look at these steps in detail, but first there are steps you can take to configure default values for your print streams.