Constructor and Description |
---|
XPathXmlCheck() |
Modifier and Type | Method and Description |
---|---|
abstract void |
precompileXPathExpressions(XmlCheckContext context)
Will be called only once by XmlCheck.
|
void |
reportIssue(Node node,
String message) |
void |
reportIssueOnFile(String message) |
void |
scanFile(XmlCheckContext context) |
abstract void |
scanFileWithXPathExpressions(XmlCheckContext context)
Will be called for each file.
|
public void scanFile(XmlCheckContext context)
public abstract void precompileXPathExpressions(XmlCheckContext context)
XmlCheckContext.compile(String)
, should compile all the fixed XPath expressions which will be re-used when analyzing files.context
- public abstract void scanFileWithXPathExpressions(XmlCheckContext context)
context
- public void reportIssueOnFile(String message)
Copyright © 2012–2017 SonarSource. All rights reserved.