public void startElement(String uri, String localName,
            String qName, Attributes attributes) throws SAXException {
        temp = "";
        if (qName.equalsIgnoreCase("doc")) {
            solrDocument = new SolrDocument();
        }
        else if (qName.equalsIgnoreCase("arr")) {
            if(attributes.getValue("name").equals("content")) {
                type = XmlType.CONTENT;
            }
            else if(attributes.getValue("name").equals("title")) {
                type = XmlType.TITLE;
            }
            else if(attributes.getValue("name").equals("host")) {
                type = XmlType.HOST;
            }
        }
        else if (qName.equalsIgnoreCase("str")) {
            if( attributes.getValue("name") != null ) {
                if(attributes.getValue("name").equals("url")) {
                    type = XmlType.URL;
                }
            }
        }
    }