@Test public void getEmptyDocument() throws ParserConfigurationException { assertThat(DomUtil.getEmptyDocument().getDocumentElement(), nullValue()); }
public static Document getEmptyDocument() throws ParserConfigurationException { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setNamespaceAware(true); DocumentBuilder builder = factory.newDocumentBuilder(); return builder.newDocument(); }
DomUtil { public static Document getEmptyDocument() throws ParserConfigurationException { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setNamespaceAware(true); DocumentBuilder builder = factory.newDocumentBuilder(); return builder.newDocument(); } }
DomUtil { public static Document getEmptyDocument() throws ParserConfigurationException { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setNamespaceAware(true); DocumentBuilder builder = factory.newDocumentBuilder(); return builder.newDocument(); } private  DomUtil(); }
DomUtil { public static Document getEmptyDocument() throws ParserConfigurationException { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setNamespaceAware(true); DocumentBuilder builder = factory.newDocumentBuilder(); return builder.newDocument(); } private  DomUtil(); static Document getEmptyDocument(); static Document nodeToDocument(final Node node); static Document strToDocument(final String strXml); static Document srcToDocument(final String srcXml); static String nodeToStr(final Node node); }
DomUtil { public static Document getEmptyDocument() throws ParserConfigurationException { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setNamespaceAware(true); DocumentBuilder builder = factory.newDocumentBuilder(); return builder.newDocument(); } private  DomUtil(); static Document getEmptyDocument(); static Document nodeToDocument(final Node node); static Document strToDocument(final String strXml); static Document srcToDocument(final String srcXml); static String nodeToStr(final Node node);  }