Class TdbOutputFormat

All Implemented Interfaces:
com.tietoenator.trip.jxp.internal.utils.DOMSink, TdbControlObjectProvider, Iterable<String>

public class TdbOutputFormat extends TdbFormat
Specialization of TdbFormat for output formats / reports
  • Constructor Details

    • TdbOutputFormat

      public TdbOutputFormat(TdbSession session) throws TdbException
      Constructor, creates a blank instance
      Parameters:
      session - Active session
      Throws:
      TdbException
    • TdbOutputFormat

      public TdbOutputFormat(TdbSession session, TdbControlObject ob) throws TdbException
      Constructor, creates an output format instance for the provided Control object reference
      Parameters:
      session - Active session
      ob - Control object reference for the format
      Throws:
      TdbException
  • Method Details

    • test

      public void test(TdbKernelWindow window) throws TdbException
      Test the current format; this creates a temporary format on the server and attempts to execute it. Whether the execution works or not, the temporary format is deleted prior to the completion of the function. Any output generated by the format under test is sent to the kernel window buffer provided.

      This method causes network I/O.

      Parameters:
      window - Will be updated with any output generated by the test
      Throws:
      TdbException