org.planx.xmlstore.convert
Class DOMUtil

java.lang.Object
  extended by org.planx.xmlstore.convert.DOMUtil

public class DOMUtil
extends Object

Author:
Kasper Bøgebjerg, Henning Niss

Constructor Summary
DOMUtil()
           
 
Method Summary
static Document parseFile(String filename)
           
static Document parseSource(InputSource in)
           
static Node removeEmptyTextNodes(Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMUtil

public DOMUtil()
Method Detail

removeEmptyTextNodes

public static Node removeEmptyTextNodes(Node node)

parseSource

public static Document parseSource(InputSource in)
                            throws XMLException,
                                   IOException
Throws:
XMLException
IOException

parseFile

public static Document parseFile(String filename)
                          throws XMLException,
                                 IOException
Throws:
XMLException
IOException


Copyright © 2010. All Rights Reserved.