code: public static Config parse(InputSource xml) throws IOException, SAXException {
  		Config rv = new Config();
  		XMLReader reader = XMLReaderFactory.createXMLReader();
  		ConfigHandler handler = rv.new ConfigHandler(rv);
  		reader.setContentHandler(handler);
  		reader.parse(xml);
  		return rv;
  	}
docs: Parses a XML file and returns a Config object holding the information.
  @param xml source of the xml data
  @return
  @throws IOException
  @throws SAXException