org.sonar.plugins.api.rules
Class StandardProfileXmlParser
java.lang.Object
org.sonar.plugins.api.rules.StandardProfileXmlParser
public class StandardProfileXmlParser
- extends java.lang.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(java.util.List<Rule> rules)
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 © 2009 SonarSource SA. All Rights Reserved.