org.sonar.api.rules
Class StandardProfileXmlParser
java.lang.Object
org.sonar.api.rules.StandardProfileXmlParser
public class StandardProfileXmlParser
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardProfileXmlParser
public StandardProfileXmlParser()
StandardProfileXmlParser
public StandardProfileXmlParser(List<Rule> rules)
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.