public final class TestSuiteXmlParser extends DefaultHandler
| Constructor and Description |
|---|
TestSuiteXmlParser(ConsoleLogger consoleLogger) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String localName,
String qName) |
boolean |
isValid() |
List<ReportTestSuite> |
parse(InputStreamReader stream) |
List<ReportTestSuite> |
parse(String xmlPath) |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic TestSuiteXmlParser(ConsoleLogger consoleLogger)
public List<ReportTestSuite> parse(String xmlPath) throws ParserConfigurationException, SAXException, IOException
public List<ReportTestSuite> parse(InputStreamReader stream) throws ParserConfigurationException, SAXException, IOException
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlercharacters in class DefaultHandlerpublic boolean isValid()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.