code: @Override
    public SimpleOrderedMap<Object> create(ComponentStats response,
        Boolean encode) throws IOException {
      if (response instanceof ComponentPosition) {
        return createPosition((ComponentPosition) response, encode);
      } else if (response instanceof ComponentToken) {
        return createToken((ComponentToken) response, encode);
      } else if (response instanceof ComponentSpan) {
        return createSpan((ComponentSpan) response, encode);
      } else {
        throw new IOException("incorrect type " + response.getClass());
      }
    }
docs: /*
  (non-Javadoc)
  
  @see
  mtas.solr.handler.component.util.MtasSolrComponent#create(mtas.codec.util.
  CodecComponent.BasicComponent, java.lang.Boolean)