code: public void characters(char buf[], int offset, int len)
              throws SAXException {
          String s = new String(buf, offset, len).trim();
          if (!s.equals("")) {
              currentlyInLeafElement = true;
              if (currentElement != null) {
                  switch (currentElement) {
                      case GROUP_ID:
                          this.currentGroupIdArtifactIdVersion = this.currentGroupIdArtifactIdVersion.addGroupId(s);
                          break;
                      case ARTIFACT_ID:
                          this.currentGroupIdArtifactIdVersion = this.currentGroupIdArtifactIdVersion.addArtifactId(s);
                          break;
                      case VERSION:
                          if (this.currentGroupIdArtifactIdVersion.groupId() != null && this.currentGroupIdArtifactIdVersion.artifactId() != null) {
                              if (s.endsWith(SNAPSHOT)) {
                                  this.currentGroupIdArtifactIdVersion = this.currentGroupIdArtifactIdVersion.addVersion(s);
                                  s = this.frozenArtifactResolver.getLatestFrozenVersion(this.currentGroupIdArtifactIdVersion).version();
                                  logger.info("[Freezehandler]: " + this.currentGroupIdArtifactIdVersion +
                                          " in pom is frozen as version " + s);
                              }
                          }
                      case RELATIVE_PATH:
                          s = s.replace(POM_FILE, FROZEN_POM_FILE);
                      default:
                          break;
                  }
              }
          }
          write(s);
      }
docs: Overrides <code>characters(char[] <i>ch</i>,
  int <i>start</i>, int <i>length</i>)</code> in
  <code>org.xml.sax.helpers.DefaultHandler</code>,
  which in turn implements <code>org.xml.sax.ContentHandler</code>.
  Called one <i>or more</i> times for the content characters
  of each element. The particular characters may be accessed
  with <code>new String(<i>buf</i>, <i>offset</i>, <i>len</i>)</code>.