com.taleo.integration.client.customstep.util
Class XmlUtils

java.lang.Object
  extended by com.taleo.integration.client.customstep.util.XmlUtils

public abstract class XmlUtils
extends Object

XML Utilities.

Author:
Romain Guay - Taleo Corporation

Constructor Summary
XmlUtils()
           
 
Method Summary
static Document createDomDocument()
          Create an empty XML Document.
static String domDocumentAsXmlString(Document document)
           
static boolean isWellFormed(File file)
          Indicates if the specified file is a well formed XML document.
 
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

isWellFormed

public static boolean isWellFormed(File file)
                            throws IOException
Indicates if the specified file is a well formed XML document.

Parameters:
file - The file containing the document.
Returns:
Throws:
IOException

createDomDocument

public static Document createDomDocument()
Create an empty XML Document.

Returns:

domDocumentAsXmlString

public static String domDocumentAsXmlString(Document document)
Parameters:
document -
Returns: