code: @Override
      public void init(String type, InputStream data, boolean viewOnly)
              throws IOException {
          setContent(data);
      }
docs: Initializes the handler. This should only be called once per instance,
  and is guaranteed to have been called when this component is provided by
  the ContentHandlerFactory. The viewOnly parameter signals to
  ContentEditor implementations that editing capabilities are not desired
  by the caller.