Package org.beanio.internal.util
Class DomUtil
- java.lang.Object
-
- org.beanio.internal.util.DomUtil
-
public class DomUtil extends java.lang.Object
Utility class for working with XML document object models.- Since:
- 1.1
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.w3c.dom.Document
newDocument()
Creates a new XML document object model.static void
print(java.lang.String title, org.w3c.dom.Node document)
Prints a DOM to standard out (for testing only).
-
-
-
Method Detail
-
newDocument
public static org.w3c.dom.Document newDocument()
Creates a new XML document object model.- Returns:
- the new DOM
-
print
public static void print(java.lang.String title, org.w3c.dom.Node document)
Prints a DOM to standard out (for testing only).- Parameters:
title
- the name of the DOMdocument
- the DOM to print
-
-