@Override public final void endElement(final String ns,final String lName,final String qName) throws SAXException {
  String name=lName == null || lName.length() == 0 ? qName : lName;
  Rule r=(Rule)RULES.match(match);
  if (r != null) {
    r.end(name);
  }
  int slash=match.lastIndexOf('/');
  if (slash >= 0) {
    match=match.substring(0,slash);
  }
 else {
    match="";
  }
}

@ Override public final void endElement ( final String ns , final String lName , final String qName ) throws SAXException { String name = lName == null || lName . length ( ) == 0 ? qName : lName ; Rule r = ( Rule ) RULES . match ( match ) ; if ( r != null ) { r . end ( name ) ; } int slash = match . lastIndexOf ( '/' ) ; if ( slash >= 0 ) { match = match . substring ( 0 , slash ) ; } else { match = "" ; } }
process notification of the end of an xml element being reached .
