code: private static void parseListeners(final Element rootElement,
  									   final WebApp webApp) {
  		final Element[] elements = getChildren(rootElement, "listener");
  		Arrays.stream(elements).forEach(element ->
  				addWebListener(webApp, getTextContent(getChild(element, "listener-class"))));
  	}
docs: Parses listeners out of web.xml.
  
  @param rootElement web.xml root element
  @param webApp      web app for web.xml