com.mule.connectors.testdata.utils
Class DocumentHandler
java.lang.Object
com.mule.connectors.testdata.utils.DocumentHandler
public class DocumentHandler
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentHandler
public DocumentHandler()
throws ParserConfigurationException
- Throws:
ParserConfigurationException
DocumentHandler
public DocumentHandler(String sourceFile)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
DocumentHandler
public DocumentHandler(File sourceFile)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
setOutputPath
public static void setOutputPath(String path)
importNode
public Node importNode(Node node,
boolean deep)
createRootElement
public Element createRootElement(String name)
createElement
public Element createElement(String name)
exportToFile
public void exportToFile(String filename)
throws TransformerException
- Throws:
TransformerException
getDoc
public Document getDoc()
getDocumentElement
public Element getDocumentElement()
Copyright © 2014. All rights reserved.