hudson.plugins.violations.types.cpd
Class CPDParser

java.lang.Object
  extended by hudson.plugins.violations.parse.AbstractParser
      extended by hudson.plugins.violations.parse.AbstractTypeParser
          extended by hudson.plugins.violations.types.cpd.CPDParser
All Implemented Interfaces:
ViolationsParser

public class CPDParser
extends AbstractTypeParser

Parses a cpd xml report file.


Constructor Summary
CPDParser()
           
 
Method Summary
protected  void execute()
          Parse the CPD file.
 
Methods inherited from class hudson.plugins.violations.parse.AbstractTypeParser
getFileModel, getFileModel, getModel, getProjectPath, getSourcePaths, parse, resolveName, setModel, setProjectPath, setSourcePaths
 
Methods inherited from class hudson.plugins.violations.parse.AbstractParser
checkEvent, checkGetAttribute, checkGetInt, checkGetLong, checkNextEvent, checkNotBlank, endElement, expectNextTag, expectStartTag, getInt, getNextText, getParser, getSibTag, getString, setParser, skipTag, skipToTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CPDParser

public CPDParser()
Method Detail

execute

protected void execute()
                throws java.io.IOException,
                       org.xmlpull.v1.XmlPullParserException
Parse the CPD file.

Specified by:
execute in class AbstractParser
Throws:
java.io.IOException - if there is a problem reading the file.
org.xmlpull.v1.XmlPullParserException - if there is a problem parsing the file.


Copyright © 2008. All Rights Reserved.