org.cruxframework.crux.core.utils
Class XMLUtils

java.lang.Object
  extended by org.cruxframework.crux.core.utils.XMLUtils

public class XMLUtils
extends Object

Toolkit for XML manipulations.

Author:
Gesse S. F. Dafe - gessedafe@gmail.com

Nested Class Summary
static class XMLUtils.XMLException
          A XML manipulation error.
 
Constructor Summary
XMLUtils()
           
 
Method Summary
static Document createNSUnawareDocument()
          Creates a Document.
static Document createNSUnawareDocument(InputStream stream, String filename)
          Creates a Document from the given stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLUtils

public XMLUtils()
Method Detail

createNSUnawareDocument

public static Document createNSUnawareDocument(InputStream stream,
                                               String filename)
                                        throws XMLUtils.XMLException
Creates a Document from the given stream.

Parameters:
stream -
Returns:
Throws:
XMLUtils.XMLException

createNSUnawareDocument

public static Document createNSUnawareDocument()
Creates a Document.

Returns:
Throws:
XMLUtils.XMLException


Copyright © 2014. All rights reserved.