public final class TestSuiteXmlParser extends DefaultHandler
| Constructor and Description |
|---|
TestSuiteXmlParser() |
| 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 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)
throws SAXException
characters in interface ContentHandlercharacters in class DefaultHandlerSAXExceptionpublic boolean isValid()
Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.