public static IXMLParser createDefaultXMLParser() throws ClassNotFoundException, InstantiationException, IllegalAccessException {
  String className=XMLParserFactory.DEFAULT_CLASS;
  try {
    className=System.getProperty(XMLParserFactory.CLASS_KEY,XMLParserFactory.DEFAULT_CLASS);
  }
 catch (  AccessControlException e) {
  }
  return XMLParserFactory.createXMLParser(className,new StdXMLBuilder());
}

public static IXMLParser createDefaultXMLParser ( ) throws ClassNotFoundException , InstantiationException , IllegalAccessException { String className = XMLParserFactory . DEFAULT_CLASS ; try { className = System . getProperty ( XMLParserFactory . CLASS_KEY , XMLParserFactory . DEFAULT_CLASS ) ; } catch ( AccessControlException e ) { } return XMLParserFactory . createXMLParser ( className , new StdXMLBuilder ( ) ) ; }
creates a default parser .
