public class TestSuiteXmlParser extends org.xml.sax.helpers.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()  | 
Collection<ReportTestSuite> | 
parse(InputStreamReader stream)  | 
Collection<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 Collection<ReportTestSuite> parse(String xmlPath) throws ParserConfigurationException, SAXException, IOException
public Collection<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 org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void characters(char[] ch,
              int start,
              int length)
                throws SAXException
characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic boolean isValid()
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.