hudson.plugins.pmd.parser
Class PmdParser

java.lang.Object
  extended by hudson.plugins.pmd.parser.PmdParser

public class PmdParser
extends java.lang.Object

A parser for the maven-pmd-plugin XML files.


Constructor Summary
PmdParser()
           
 
Method Summary
 MavenModule parse(java.io.InputStream file, java.lang.String moduleName)
          Returns the parsed PMD analysis file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PmdParser

public PmdParser()
Method Detail

parse

public MavenModule parse(java.io.InputStream file,
                         java.lang.String moduleName)
                  throws java.io.IOException,
                         org.xml.sax.SAXException
Returns the parsed PMD analysis file.

Parameters:
file - the PMD analysis file
moduleName - name of the maven module
Returns:
the parsed result (stored in the module instance)
Throws:
java.io.IOException - if the file could not be parsed
org.xml.sax.SAXException - if the file is not in valid XML format


Copyright © 2008. All Rights Reserved.