code: public void writeLineElement(String name, Object text)
    {
      startLineElement(name);
      writeText(text);
      endLineElement(name);
    }
docs: Convenience method, same as doing a startLineElement(), writeText(text),
  endLineElement().