code: protected void endElement( ContentHandler contentHandler,
                                 Name name ) throws SAXException {
          contentHandler.endElement(name.getNamespaceUri(),
                                    NAME_ENCODER.encode(name.getLocalName()),
                                    NAME_ENCODER.encode(getPrefixedName(name)));
      }
docs: Convenience method to invoke the {@link ContentHandler#endElement(String, String, String)} method on the given content
  handler. The name will be encoded to properly escape invalid XML characters.
  
  @param contentHandler the content handler on which the <code>endElement</code> method should be invoked.
  @param name the un-encoded, un-prefixed name of the element to end
  @throws SAXException if there is an error ending the element