org.jboss.jsfunit.analysis.util
Class ParserUtils
java.lang.Object
org.jboss.jsfunit.analysis.util.ParserUtils
public class ParserUtils
- extends Object
- Author:
- Dennis Byrne
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParserUtils
public ParserUtils()
getDocumentBuilder
public static DocumentBuilder getDocumentBuilder()
getXml
public static String getXml(String resourcePath,
StreamProvider streamProvider)
getDocument
public static Document getDocument(String xml)
throws SAXException,
IOException
- Throws:
SAXException
IOException
query
public static NodeList query(Node node,
String xpathQuery,
String filePath)
querySingle
public static String querySingle(Node node,
String xpathQuery,
String filePath)
Copyright © 2007-2008 JBoss Inc.. All Rights Reserved.