code: public void setContentType(String contentType)
    {
      _contentType = contentType;
  
      if (_contentType.equals("text/xml"))
        _strategy = XML;
      if (_contentType.equals("application/xml"))
        _strategy = XML;
      else if (_contentType.equals("text/xhtml"))
        _strategy = XHTML;
      else if (_contentType.equals("application/xhtml+xml"))
        _strategy = XHTML;
      else if (_contentType.equals("text/html"))
        _strategy = HTML;
      else
        _strategy = XML;
    }
docs: Default is "text/xml".