return builder.getParser(); }
try {  XMLReader parser = XMLReaderFactory.createXMLReader(); parser.setFeature("http: parser.setContentHandler(builder); parser.parse(new InputSource(in)); } catch (SAXException e) { System.err.println(e.getMessage()); } catch (IOException ioe) { }  return builder.getParser(); }
    public static DXFParser buildFromStream(InputStream in) {        SAXParserBuilder builder = new SAXParserBuilder();        try {            XMLReader saxparser = XMLReaderFactory.createXMLReader();            saxparser.setContentHandler(builder);            saxparser.parse(new InputSource(in));        } catch (SAXException e) {            System.err.println(e.getMessage());        } catch (IOException ioe) {        }        return builder.getParser();    }