/** Creates SAX parse that can be used to parse XML files. * @return sax parser * @deprecated Use {@link XMLUtil#createXMLReader() XMLUtil} instead. * It will create a SAX XMLReader that is SAX Parser replacement. * You will have to replace DocumentHandler by ContentHandler * besause XMLReader accepts just ContentHandler. * <p>Alternatively if not interested in new callbacks defined by * SAX 2.0 you can wrap returned XMLReader into XMLReaderAdapter * that implements Parser. */ public static Parser createParser () { return createParser (false); }