org.jboss.jsfunit.analysis.util
Class ParserUtils

java.lang.Object
  extended by org.jboss.jsfunit.analysis.util.ParserUtils

public class ParserUtils
extends Object

Author:
Dennis Byrne

Constructor Summary
ParserUtils()
           
 
Method Summary
static Document getDocument(String xml)
           
static DocumentBuilder getDocumentBuilder()
           
static String getXml(String resourcePath, StreamProvider streamProvider)
           
static NodeList query(Node node, String xpathQuery, String filePath)
           
static String querySingle(Node node, String xpathQuery, String filePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserUtils

public ParserUtils()
Method Detail

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.