public void writeScript(AbstractRenderAppender sb)
    {
        assert(sb != null) : "The paramter 'sb' must not be null;";
        if (_writeScript)
            return;

        _writeScript = true;
        IScriptReporter sr = getParentScriptReporter();
        if (sr != null) {
            sr.writeScript(sb);
            return;
        }

        writeBeforeBlocks(sb);
        writeFrameworkScript(sb);
        writeAfterBlocks(sb);
    }
public void writeScript ( AbstractRenderAppender sb ) { assert ( sb != null ) : "The paramter 'sb' must not be null;" ; if ( _writeScript ) return ; _writeScript = true ; IScriptReporter sr = getParentScriptReporter ( ) ; if ( sr != null ) { sr . writeScript ( sb ) ; return ; } writeBeforeBlocks ( sb ) ; writeFrameworkScript ( sb ) ; writeAfterBlocks ( sb ) ; }
This method will output all of the Script associated with the script reporter.
@param sb The script is written into the provided InternalStringBuilder. This value must not be null.