BeanIO 1.2.3

org.beanio.util
Class DomUtil

java.lang.Object
  extended by org.beanio.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, Document 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,
                         Document document)
Prints a DOM to standard out (for testing only).

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

BeanIO 1.2.3

Copyright © 2010-2012 Kevin Seim