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, warningprotected 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 ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endElement(String namespaceURI, String sName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void characters(char[] buff,
int offset,
int len)
throws SAXException
characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic List getPackages()
public Stats getStats()
Copyright © 2006-2012 Codehaus. All Rights Reserved.