org.sonar.api.profiles
Class XMLProfileParser
java.lang.Object
org.sonar.api.profiles.XMLProfileParser
- All Implemented Interfaces:
- ServerComponent
public final class XMLProfileParser
- extends Object
- implements ServerComponent
TODO should be an interface
- Since:
- 2.3
Constructor Summary |
XMLProfileParser(RuleFinder ruleFinder)
Deprecated. since 2.5. Plugins shouldn't directly instantiate this class,
because it should be retrieved as an IoC dependency. |
XMLProfileParser(RuleFinder ruleFinder,
MetricFinder metricFinder)
Deprecated. since 2.5. Plugins shouldn't directly instantiate this class,
because it should be retrieved as an IoC dependency. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLProfileParser
@Deprecated
public XMLProfileParser(RuleFinder ruleFinder)
- Deprecated. since 2.5. Plugins shouldn't directly instantiate this class,
because it should be retrieved as an IoC dependency.
- For backward compatibility.
XMLProfileParser
@Deprecated
public XMLProfileParser(RuleFinder ruleFinder,
MetricFinder metricFinder)
- Deprecated. since 2.5. Plugins shouldn't directly instantiate this class,
because it should be retrieved as an IoC dependency.
parseResource
public RulesProfile parseResource(ClassLoader classloader,
String xmlClassPath,
ValidationMessages messages)
parse
public RulesProfile parse(Reader reader,
ValidationMessages messages)
Copyright © 2009-2011 SonarSource. All Rights Reserved.