code: public Document getScratchDocument(DocumentBuilder db)
      {
          if (m_doc == null)
          {
              m_doc = db.newDocument();
          }
          return m_doc;
      }
docs: Get the scratch document for this message.
  Creates a new document the first time.
  @return The scratch document.