|
Apache JMeter 2.1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jmeter.util.XPathUtil
author Justin Spears jspears@astrology.com This class provides a few utility methods for dealing with XML/XPath. Might think about creating an interface for the setup, but, works fine now...
Method Summary | |
static org.w3c.dom.Document |
makeDocument(InputStream stream,
boolean validate,
boolean whitespace,
boolean namespace,
boolean tolerant)
Utility function to get new Document |
static javax.xml.parsers.DocumentBuilder |
makeDocumentBuilder(boolean validate,
boolean whitespace,
boolean namespace)
Create a DocumentBuilder using the makeDocumentFactory func. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static javax.xml.parsers.DocumentBuilder makeDocumentBuilder(boolean validate, boolean whitespace, boolean namespace) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
validate
- whitespace
- namespace
-
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
public static org.w3c.dom.Document makeDocument(InputStream stream, boolean validate, boolean whitespace, boolean namespace, boolean tolerant) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, IOException
stream
- Document Input streamvalidate
- Validate Documentwhitespace
- Element Whitespacenamespace
- Is Namespace aware.tolerant
- Is tolerant
javax.xml.parsers.ParserConfigurationException
IOException
org.xml.sax.SAXException
|
Apache JMeter 2.1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |