public class SourceAttributesParser extends DefaultHandler
| Constructor and Description | 
|---|
| SourceAttributesParser()Creates a new instance of SonarModelOutputParser | 
| Modifier and Type | Method and Description | 
|---|---|
| void | characters(char[] buf,
          int offset,
          int len)Receive notification of character data inside an element. | 
| void | endDocument()Creates the flush debugging output of the end of the document. | 
| void | endElement(String namespaceURI,
          String sName,
          String qName)Create the end of an element. | 
| SonarSource | parseDocuments(String filename,
              boolean isMultiple)method that will parse properly formatted files passed in and 
 return array of Lists (RadialBlades and DepthBlades) | 
| void | processData()Processing data of EnvironmentalData object. | 
| void | startDocument()Creates the output header of the beginning of the document. | 
| void | startElement(String namespaceURI,
            String sName,
            String qName,
            Attributes attrs)Create the start of an element. | 
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warningpublic SourceAttributesParser()
public void startDocument()
                   throws SAXException
startDocument in interface ContentHandlerstartDocument in class DefaultHandlerSAXException - The error or warning message.public void endDocument()
                 throws SAXException
endDocument in interface ContentHandlerendDocument in class DefaultHandlerSAXException - The error or warning message.public void startElement(String namespaceURI, String sName, String qName, Attributes attrs) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlernamespaceURI - The Url of name space.sName - The element tag name.qName - The element tag name.attrs - The attribute name.SAXException - The error or warning message.public void endElement(String namespaceURI, String sName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlernamespaceURI - The Url of name space.sName - The element tag name.qName - The element tag name.SAXException - The error or warning message.public void characters(char[] buf,
              int offset,
              int len)
                throws SAXException
characters in interface ContentHandlercharacters in class DefaultHandlerbuf - The characters.offset - The start position in the character array.len - The number of characters to use from the character array.SAXException - The error or warning message.public void processData()
public SonarSource parseDocuments(String filename, boolean isMultiple)
filename - The source file name to parse.isMultiple - 'true' if multiple source; 'false' otherwise.