public ImdnParser parse() throws ParserConfigurationException, SAXException, ParseFailureException {
  try {
    SAXParserFactory factory=SAXParserFactory.newInstance();
    SAXParser parser=factory.newSAXParser();
    parser.parse(mInputSource,this);
    return this;
  }
 catch (  IOException e) {
    throw new ParseFailureException("Failed to parse input source!",e);
  }
}

public ImdnParser parse ( ) throws ParserConfigurationException , SAXException , ParseFailureException { try { SAXParserFactory factory = SAXParserFactory . newInstance ( ) ; SAXParser parser = factory . newSAXParser ( ) ; parser . parse ( mInputSource , this ) ; return this ; } catch ( IOException e ) { throw new ParseFailureException ( "Failed to parse input source!" , e ) ; } }
parse the imdn parser
