BeanIO 2.0.4

org.beanio.internal.util
Class DomUtil

java.lang.Object
  extended by org.beanio.internal.util.DomUtil

public class DomUtil
extends Object

Utility class for working with XML document object models.

Since:
1.1
Author:
Kevin Seim

Method Summary
static Document newDocument()
          Creates a new XML document object model.
static void print(String title, Node document)
          Prints a DOM to standard out (for testing only).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newDocument

public static Document newDocument()
Creates a new XML document object model.

Returns:
the new DOM

print

public static void print(String title,
                         Node document)
Prints a DOM to standard out (for testing only).

Parameters:
title - the name of the DOM
document - the DOM to print

BeanIO 2.0.4

Copyright © 2010-2013 Kevin Seim