org.sonar.plugins.rules
Class StandardProfileXmlParser

java.lang.Object
  extended by org.sonar.plugins.rules.StandardProfileXmlParser

public class StandardProfileXmlParser
extends java.lang.Object


Constructor Summary
StandardProfileXmlParser()
           
StandardProfileXmlParser(java.util.List<Rule> rules)
           
 
Method Summary
protected  void buildActiveRulesFromProfile(Profile profile, java.util.List<ActiveRule> activeRules)
           
protected  Profile buildProfileFromXml(java.lang.String configuration)
           
 RulesProfile importConfiguration(java.lang.String configuration)
           
 Profile parse(java.lang.String xml)
          see the XML format into the unit test src/test/java/.../StandardProfileXmlParserTest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardProfileXmlParser

public StandardProfileXmlParser()

StandardProfileXmlParser

public StandardProfileXmlParser(java.util.List<Rule> rules)
Method Detail

parse

public Profile parse(java.lang.String xml)
see the XML format into the unit test src/test/java/.../StandardProfileXmlParserTest


importConfiguration

public RulesProfile importConfiguration(java.lang.String configuration)

buildProfileFromXml

protected Profile buildProfileFromXml(java.lang.String configuration)

buildActiveRulesFromProfile

protected void buildActiveRulesFromProfile(Profile profile,
                                           java.util.List<ActiveRule> activeRules)


Copyright © 2007-2008 hortis. All Rights Reserved.