class SLDParser {

    public Style[] readXML() {
        try {
            dom = newDocumentBuilder(true).parse(source);
        } catch (javax.xml.parsers.ParserConfigurationException pce) {
            throw new RuntimeException(pce);
        } catch (org.xml.sax.SAXException se) {
            throw new RuntimeException(se);
        } catch (java.io.IOException ie) {
            throw new RuntimeException(ie);
        }

        return readDOM(dom);
    }

    public  SLDParser(StyleFactory factory);
    public  SLDParser(StyleFactory factory, FilterFactory filterFactory);
    public  SLDParser(StyleFactory factory, String filename);
    public  SLDParser(StyleFactory factory, File f);
    public  SLDParser(StyleFactory factory, java.net.URL url);
    public  SLDParser(StyleFactory factory, java.io.InputStream s);
    public  SLDParser(StyleFactory factory, java.io.Reader r);

}