Class RenderOption

    • Constructor Detail

      • RenderOption

        public RenderOption()
        constructor
      • RenderOption

        public RenderOption​(java.util.Map options)
        Constructor.
        Parameters:
        options -
      • RenderOption

        public RenderOption​(IRenderOption options)
        Constructor.
        Parameters:
        options -
    • Method Detail

      • getOutputSetting

        @Deprecated
        public java.util.Map getOutputSetting()
        Deprecated.
        user should always use the get/set to change the setting.
        returns the output settings
        Specified by:
        getOutputSetting in interface IRenderOption
        Returns:
        the output settings
      • getOutputFormat

        public java.lang.String getOutputFormat()
        returns the output format, i.e., html, pdf, etc.
        Specified by:
        getOutputFormat in interface IRenderOption
        Returns:
        Returns the output format
      • getEmitterID

        public java.lang.String getEmitterID()
        Get emitter id.
        Specified by:
        getEmitterID in interface IRenderOption
        Returns:
        Returns the emitter id
      • setEmitterID

        public void setEmitterID​(java.lang.String emitterId)
        Set emitter id.
        Specified by:
        setEmitterID in interface IRenderOption
        Parameters:
        emitterId - emitter id
      • setOutputStream

        public void setOutputStream​(java.io.OutputStream ostream)
        Description copied from interface: IRenderOption
        Set output stream.
        Specified by:
        setOutputStream in interface IRenderOption
      • getOutputStream

        public java.io.OutputStream getOutputStream()
        Get output stream
        Specified by:
        getOutputStream in interface IRenderOption
        Returns:
        output stream
      • setOutputFileName

        public void setOutputFileName​(java.lang.String outputFileName)
        Set name of the output file.
        Specified by:
        setOutputFileName in interface IRenderOption
        Parameters:
        outputFileName - name of the output file
      • getOutputFileName

        public java.lang.String getOutputFileName()
        Get name of the output file.
        Specified by:
        getOutputFileName in interface IRenderOption
        Returns:
        output file name
      • setSupportedImageFormats

        public void setSupportedImageFormats​(java.lang.String formats)
        Specified by:
        setSupportedImageFormats in interface IRenderOption
        Parameters:
        formats - - the image format supported by the browser
      • getSupportedImageFormats

        public java.lang.String getSupportedImageFormats()
        Specified by:
        getSupportedImageFormats in interface IRenderOption
        Returns:
        the image format supported by the browser
      • getBaseURL

        public java.lang.String getBaseURL()
        Returns the base URL for creating an Action URL
        Specified by:
        getBaseURL in interface IRenderOption
        Returns:
        the baseURL.
      • setBaseURL

        public void setBaseURL​(java.lang.String baseURL)
        sets the base url for action handling
        Specified by:
        setBaseURL in interface IRenderOption
        Parameters:
        baseURL - sets the base URL used for action handling
      • getAppBaseURL

        public java.lang.String getAppBaseURL()
        Returns the app base url for URL images
        Specified by:
        getAppBaseURL in interface IRenderOption
        Returns:
        appBaseUrl
      • setAppBaseURL

        public void setAppBaseURL​(java.lang.String appBaseUrl)
        Set app base url
        Specified by:
        setAppBaseURL in interface IRenderOption
        Parameters:
        appBaseURL - the app base url
      • needCloseOutputStreamOnExit

        public boolean needCloseOutputStreamOnExit()
        If the output stream needs to be closed on exit.
      • closeOutputStreamOnExit

        public void closeOutputStreamOnExit​(boolean closeOnExit)
        Get flag indicates if the output stream needs to be closed on exit.
        Parameters:
        closeOnExit -