public Document build(org.w3c.dom.Document domDocument) {
    Document doc = factory.document(null);
    buildTree(domDocument, doc, null, true);
    return doc;
  }
public Document build(org.w3c.dom.Document domDocument)