org.sonar.api.rules
Class StandardProfileXmlParser

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

public class StandardProfileXmlParser
extends Object


Constructor Summary
StandardProfileXmlParser()
           
StandardProfileXmlParser(List<Rule> rules)
           
 
Method Summary
protected  void buildActiveRulesFromProfile(Profile profile, List<ActiveRule> activeRules)
           
protected  Profile buildProfileFromXml(String configuration)
           
 RulesProfile importConfiguration(String configuration)
           
 Profile parse(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(List<Rule> rules)
Method Detail

parse

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


importConfiguration

public RulesProfile importConfiguration(String configuration)

buildProfileFromXml

protected Profile buildProfileFromXml(String configuration)

buildActiveRulesFromProfile

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


Copyright © 2009-2010 SonarSource SA. All Rights Reserved.