hudson.plugins.violations.parse
Class FileModelParser

java.lang.Object
  extended by hudson.plugins.violations.parse.AbstractParser
      extended by hudson.plugins.violations.parse.FileModelParser

public class FileModelParser
extends AbstractParser

Parses file model xml file.


Constructor Summary
FileModelParser()
           
 
Method Summary
protected  void execute()
          Parse the file violations xml file.
 FileModelParser fileModel(FileModel fileModel)
          "Fluid" type method.
 
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

FileModelParser

public FileModelParser()
Method Detail

fileModel

public FileModelParser fileModel(FileModel fileModel)
"Fluid" type method.

Parameters:
fileModel - the fileModel value
Returns:
this object.

execute

protected void execute()
                throws java.io.IOException,
                       org.xmlpull.v1.XmlPullParserException
Parse the file violations xml 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 © 2004-2012. All Rights Reserved.