| java.lang.Object org.apache.jmeter.util.XPathUtil
XPathUtil | public class XPathUtil (Code) | | 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...
|
Inner Class :static class MyErrorHandler implements ErrorHandler | |
Method Summary | |
public static Document | makeDocument(InputStream stream, boolean validate, boolean whitespace, boolean namespace, boolean tolerant) Utility function to get new Document
Parameters: stream - Document Input stream Parameters: validate - Validate Document Parameters: whitespace - Element Whitespace Parameters: namespace - Is Namespace aware. Parameters: tolerant - Is tolerant - i.e. | public static DocumentBuilder | makeDocumentBuilder(boolean validate, boolean whitespace, boolean namespace) Create a DocumentBuilder using the makeDocumentFactory func. |
makeDocumentBuilder | public static DocumentBuilder makeDocumentBuilder(boolean validate, boolean whitespace, boolean namespace) throws ParserConfigurationException(Code) | | Create a DocumentBuilder using the makeDocumentFactory func.
Parameters: validate - should the parser validate documents? Parameters: whitespace - should the parser eliminate whitespace in element content? Parameters: namespace - should the parser be namespace aware? document builder throws: ParserConfigurationException - |
|
|