public class JDependXMLReportParser extends org.xml.sax.helpers.DefaultHandler
Modifier and Type | Field and Description |
---|---|
protected StringBuffer |
buffer |
protected CyclePackage |
cyclePackage |
protected List |
cycles |
protected JDPackage |
jdpackage |
protected List |
packages |
protected Stack |
stack |
protected Stats |
stats |
Constructor and Description |
---|
JDependXMLReportParser(File xmlFile)
Creates a new instance of JDependXMLReportParser.
|
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] buff,
int offset,
int len) |
void |
endElement(String namespaceURI,
String sName,
String qName) |
List |
getPackages() |
Stats |
getStats() |
void |
startElement(String namespaceURI,
String sName,
String qName,
Attributes attrs) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
protected List packages
protected JDPackage jdpackage
protected Stats stats
protected StringBuffer buffer
protected Stack stack
protected List cycles
protected CyclePackage cyclePackage
public JDependXMLReportParser(File xmlFile) throws ParserConfigurationException, SAXException, IOException
public void startElement(String namespaceURI, String sName, String qName, Attributes attrs) throws SAXException
startElement
in interface ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void endElement(String namespaceURI, String sName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void characters(char[] buff, int offset, int len) throws SAXException
characters
in interface ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
SAXException
public List getPackages()
public Stats getStats()
Copyright © 2006-2012 Codehaus. All Rights Reserved.