code: @Override
      public void characters(char[] ch, int start, int length) throws SAXException {
  
          // <param-name>
          if (elements("web-app", "context-param", "param-name")) {
              currentName = String.valueOf(ch, start, length).trim();
          }
  
          // <param-value>
          if (elements("web-app", "context-param", "param-value")) {
              currentValue = String.valueOf(ch, start, length).trim();
          }
  
      }
docs: /*
  @see org.xml.sax.helpers.DefaultHandler#characters(char[], int, int)