Groovy Documentation

org.codenarc.ruleset
Class XmlReaderRuleSet

java.lang.Object
  org.codenarc.ruleset.XmlReaderRuleSet

class XmlReaderRuleSet

A RuleSet implementation that parses Rule definitions from XML read from a Reader. Note that this class attempts to read and parse the XML from within the constructor.

author:
Chris Mair
version:
$Revision: 318 $ - $Date: 2010-04-11 17:12:00 -0400 (Sun, 11 Apr 2010) $


Constructor Summary
XmlReaderRuleSet(Reader reader)

Construct a new instance on the specified Reader

 
Method Summary
List getRules()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

XmlReaderRuleSet

public XmlReaderRuleSet(Reader reader)
Construct a new instance on the specified Reader
param:
reader - the Reader from which the XML will be read; must not be null


 
Method Detail

getRules

List getRules()
return:
a List of Rule objects


 

Groovy Documentation