code: void setOutputState(int s)
          throws IOException
      {
          if (s<0)
          {
              _outputState=DISABLED;
              if (_writer!=null)
                  _writer.disable();
              _writer=null;
              if (_out!=null)
                  _out.disable();
              _out=null;
          }
          else
              _outputState=s;
      }
docs: /* ------------------------------------------------------------