Java XML Document Create createEmptyDocument(final DocumentBuilder builder)

Here you can find the source of createEmptyDocument(final DocumentBuilder builder)

Description

create Empty Document

License

Apache License

Declaration

private static Document createEmptyDocument(final DocumentBuilder builder) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import org.w3c.dom.Document;
import javax.xml.parsers.DocumentBuilder;

public class Main {
    private static Document createEmptyDocument(final DocumentBuilder builder) {
        return builder.newDocument();
    }//w  w w .jav a  2 s  .  c  o m
}

Related

  1. createDocumentFromXmlString(String xmlStr)
  2. createEmptyDocument()
  3. createEmptyDocument()
  4. createEmptyDocument()
  5. createEmptyDocument()
  6. createEmptyElement(Document doc, QName qname)
  7. createNewDocument()
  8. createNewDocument(DocumentBuilder docBuilder)
  9. createNewDocument(String namespaceURI, String qualifiedName)