com.taleo.integration.client.customstep.util
Class XmlUtils
java.lang.Object
com.taleo.integration.client.customstep.util.XmlUtils
public abstract class XmlUtils
- extends Object
XML Utilities.
- Author:
- Romain Guay - Taleo Corporation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlUtils
public XmlUtils()
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: