org.sonar.api.rules
Class XMLRuleParser

java.lang.Object
  extended by org.sonar.api.rules.XMLRuleParser
All Implemented Interfaces:
ServerComponent

Deprecated. in 4.2. Replaced by org.sonar.api.rule.RuleDefinitions#loadXml()

@Deprecated
public final class XMLRuleParser
extends Object
implements ServerComponent

Since:
2.3

Constructor Summary
XMLRuleParser()
          Deprecated.  
 
Method Summary
 List<Rule> parse(File file)
          Deprecated.  
 List<Rule> parse(InputStream input)
          Deprecated. Warning : the input stream is closed in this method
 List<Rule> parse(Reader reader)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLRuleParser

public XMLRuleParser()
Deprecated. 
Method Detail

parse

public List<Rule> parse(File file)
Deprecated. 

parse

public List<Rule> parse(InputStream input)
Deprecated. 
Warning : the input stream is closed in this method


parse

public List<Rule> parse(Reader reader)
Deprecated. 


Copyright © 2009–2014 SonarSource. All rights reserved.