Here you can find the source of getDocumentBuilderFactoryClassName()
public static String getDocumentBuilderFactoryClassName() throws ParserConfigurationException
//package com.java2s; //License from project: Open Source License import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; public class Main { public static String getDocumentBuilderFactoryClassName() throws ParserConfigurationException { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); return factory.getClass().getName(); }//from ww w. j a va 2 s . co m }