org.codehaus.mojo.jdepend

Class JDependXMLReportParser

public class JDependXMLReportParser extends DefaultHandler

Field Summary
protected StringBufferbuffer
protected CyclePackagecyclePackage
protected Listcycles
protected JDPackagejdpackage
protected Listpackages
protected Stackstack
protected Statsstats
Constructor Summary
JDependXMLReportParser(File xmlFile)
Creates a new instance of JDependXMLReportParser
Method Summary
voidcharacters(char[] buff, int offset, int len)
voidendElement(String namespaceURI, String sName, String qName)
ListgetPackages()
StatsgetStats()
voidstartElement(String namespaceURI, String sName, String qName, Attributes attrs)

Field Detail

buffer

protected StringBuffer buffer

cyclePackage

protected CyclePackage cyclePackage

cycles

protected List cycles

jdpackage

protected JDPackage jdpackage

packages

protected List packages

stack

protected Stack stack

stats

protected Stats stats

Constructor Detail

JDependXMLReportParser

public JDependXMLReportParser(File xmlFile)
Creates a new instance of JDependXMLReportParser

Throws: SAXException ParserConfigurationException IOException

Method Detail

characters

public void characters(char[] buff, int offset, int len)

endElement

public void endElement(String namespaceURI, String sName, String qName)

getPackages

public List getPackages()

getStats

public Stats getStats()

startElement

public void startElement(String namespaceURI, String sName, String qName, Attributes attrs)
Copyright © 2006-2007 null. All Rights Reserved.