Class XmlReportParser
java.lang.Object
com.reallifedeveloper.maven.jdepend.xml.XmlReportParser
A parser for XML files created by JDepend.
- Author:
- RealLifeDeveloper
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
XmlReportParser
public XmlReportParser() throws jakarta.xml.bind.JAXBExceptionCreates a newXmlReportParser.- Throws:
jakarta.xml.bind.JAXBException- if creating the underlying JAXB unmarshaller fails
-
-
Method Details
-
parse
Parses a file with XML generated by JDepend and creates the correspondingXmlReport.- Parameters:
file- the location of the JDepend XML file to parse- Returns:
- an
XmlReportrepresenting the information in the XML file - Throws:
jakarta.xml.bind.JAXBException- if any unepxected errors occur while parsing
-