Stop/break an SaxXMLparsing
<p>Im making an app that fetches some XML using SAXparser.
Im parsing the xml and if the xml does not have a specific node I have to start over the SAXparser with a different URL. </p>

<p>This means that when I'm in my XML handler inside startElement I have to break/stop it and do it again. How can I do this break/stop/exit?</p>

<p>Here are some fake code to explain:</p>

<pre><code>private String browsLevel(String url) {
                SAXParserFactory spf = SAXParserFactory.newInstance();
                SAXParser sp = spf.newSAXParser();
                XMLReader xr = sp.getXMLReader();


                URL sourceUrl = new URL(url);
                MyXMLHandler myXMLHandler = new MyXMLHandler();
                xr.setContentHandler(myXMLHandler);
                xr.parse(new InputSource(sourceUrl.openStream()));
}

//external class in a separate document
 public class MyXMLHandler extends DefaultHandler {

    @Override
    public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
        // Im checking here if a special node exsists and if not I need to break/stop this and go to the Restart point above. 
        //I need to do something like this:                                     
            if (!localName.equals("mysspecialnode")) {
                MyXMLHandler.break(); //????
                browsLevel("a different url");
            }
</code></pre>
