code: public void setXml(String s) {
          assertNotNull(s);
          xml = s;
          setLength(s.length());
      }
docs: Sets the string for this XML component.  Sets the length of the
  component to the length of the passed string.
  @param s a string of xml text
  @throws IllegalArgumentException} if {@code s} is {@code null}