private void init(String saxParser,InputSource is) throws TagLibException {
  try {
    xmlReader=XMLUtil.createXMLReader(saxParser);
    xmlReader.setContentHandler(this);
    xmlReader.setErrorHandler(this);
    xmlReader.setEntityResolver(new TagLibEntityResolver());
    xmlReader.parse(is);
  }
 catch (  IOException e) {
    throw new TagLibException(e);
  }
catch (  SAXException e) {
    e.printStackTrace();
    throw new TagLibException(e);
  }
}

private void init ( String saxParser , InputSource is ) throws TagLibException { try { xmlReader = XMLUtil . createXMLReader ( saxParser ) ; xmlReader . setContentHandler ( this ) ; xmlReader . setErrorHandler ( this ) ; xmlReader . setEntityResolver ( new TagLibEntityResolver ( ) ) ; xmlReader . parse ( is ) ; } catch ( IOException e ) { throw new TagLibException ( e ) ; } catch ( SAXException e ) { e . printStackTrace ( ) ; throw new TagLibException ( e ) ; } }
generelle initialisierungsmetode der konstruktoren .
