code: public OutputProperties getOutputFormat()
    {
  
      // Get the output format that was set by the user, otherwise get the 
      // output format from the stylesheet.
      OutputProperties format = (null == m_outputFormat)
                                ? getStylesheet().getOutputComposed()
                                : m_outputFormat;
  
      return format;
    }
docs: Get the output properties used for the transformation.
  
  @return the output format that was set by the user,
  otherwise the output format from the stylesheet.