code: public void endElement(String uri, String lname, String name) {
          if (myTags.containsKey(name)) {
              XmlPeer peer = (XmlPeer) myTags.get(name);
              handleEndingTags(peer.getTag());
          }
          else {
              handleEndingTags(name);
          }
      }
docs: This method gets called when an end tag is encountered.
  
  @param   uri 		the Uniform Resource Identifier
  @param   lname 		the local name (without prefix), or the empty string if Namespace processing is not being performed.
  @param	name		the name of the tag that ends