code: @Override
      public void endElement(String uri, String localName, String qName) throws SAXException {
          super.endElement(uri, localName, qName);
          if ((getCurrentElement().equalsIgnoreCase(GPXTags.TEXT)) && (isPoint())) {
              getCurrentPoint().setLinkText(getContentBuffer());
          } else if (getCurrentElement().equalsIgnoreCase(GPXTags.TEXT)) {
              getCurrentLine().setLinkText(getContentBuffer());
          }
      }
docs: Fires whenever an XML end markup is encountered. It catches attributes of
  trackPoints, trackSegments or routes and saves them in corresponding
  values[].
  
  @param uri URI of the local element
  @param localName Name of the local element (without prefix)
  @param qName qName of the local element (with prefix)
  @throws SAXException Any SAX exception, possibly wrapping another
  exception