Java XML Document Create createDocument()

Here you can find the source of createDocument()

Description

Create an xml document

License

Open Source License

Declaration

public static Document createDocument() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import org.w3c.dom.*;
import javax.xml.parsers.*;

public class Main {
    private static DocumentBuilder ourDocBuilder = null;

    /** Create an xml document */
    public static Document createDocument() {
        Document doc = ourDocBuilder.newDocument();
        return doc;
    }/*from   w  w w . ja v a  2 s  .  c  o m*/
}

Related

  1. createDocument()
  2. createDocument()
  3. createDocument()
  4. createDocument()
  5. createDocument()
  6. createDocument()
  7. createDocument()
  8. createDocument()
  9. createDocument()