code: protected void trimLeadingWhiteSpaces()
      {
          if (shouldRemoveWhiteSpaces() && getContent().length() > 0) {
              String result = trimLeadingWhiteSpaces(getContent());
              getContent().setLength(0);
              getContent().append(result);
          }
      }
docs: when in CDATA or PRE elements).