org.codehaus.mojo.jdepend
Class JDependXMLReportParser
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.codehaus.mojo.jdepend.JDependXMLReportParser
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class JDependXMLReportParser
- extends DefaultHandler
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
packages
protected List packages
jdpackage
protected JDPackage jdpackage
stats
protected Stats stats
buffer
protected StringBuffer buffer
stack
protected Stack stack
cycles
protected List cycles
cyclePackage
protected CyclePackage cyclePackage
JDependXMLReportParser
public JDependXMLReportParser(File xmlFile)
throws ParserConfigurationException,
SAXException,
IOException
- Creates a new instance of JDependXMLReportParser.
- Throws:
SAXException
ParserConfigurationException
IOException
startElement
public void startElement(String namespaceURI,
String sName,
String qName,
Attributes attrs)
throws SAXException
- Specified by:
startElement
in interface ContentHandler
- Overrides:
startElement
in class DefaultHandler
- Throws:
SAXException
endElement
public void endElement(String namespaceURI,
String sName,
String qName)
throws SAXException
- Specified by:
endElement
in interface ContentHandler
- Overrides:
endElement
in class DefaultHandler
- Throws:
SAXException
characters
public void characters(char[] buff,
int offset,
int len)
throws SAXException
- Specified by:
characters
in interface ContentHandler
- Overrides:
characters
in class DefaultHandler
- Throws:
SAXException
getPackages
public List getPackages()
getStats
public Stats getStats()
Copyright © 2006-2011 Codehaus. All Rights Reserved.