| Package | Description |
|---|---|
| org.sonarsource.analyzer.commons.xml | |
| org.sonarsource.analyzer.commons.xml.checks |
| Modifier and Type | Method and Description |
|---|---|
static XmlTextRange |
XmlFile.attributeNameLocation(Attr node) |
static XmlTextRange |
XmlFile.attributeValueLocation(Attr node) |
static XmlTextRange |
XmlFile.endLocation(CDATASection node) |
static XmlTextRange |
XmlFile.endLocation(Element node) |
XmlTextRange |
PrologElement.PrologAttribute.getNameLocation() |
XmlTextRange |
PrologElement.getPrologEndLocation() |
XmlTextRange |
PrologElement.getPrologStartLocation() |
XmlTextRange |
PrologElement.PrologAttribute.getValueLocation() |
static XmlTextRange |
XmlFile.nameLocation(Element node) |
static XmlTextRange |
XmlFile.nodeLocation(Node node) |
static XmlTextRange |
XmlFile.startLocation(CDATASection node) |
static XmlTextRange |
XmlFile.startLocation(Element node) |
| Modifier and Type | Method and Description |
|---|---|
static Optional<XmlTextRange> |
XmlFile.getRange(Node node,
XmlFile.Location location) |
| Constructor and Description |
|---|
PrologAttribute(String name,
XmlTextRange nameLocation,
String value,
XmlTextRange valueLocation) |
PrologElement(List<PrologElement.PrologAttribute> attributes,
XmlTextRange prologStartLocation,
XmlTextRange prologEndLocation) |
XmlTextRange(XmlTextRange start,
XmlTextRange end) |
| Modifier and Type | Method and Description |
|---|---|
void |
SonarXmlCheck.reportIssue(XmlTextRange textRange,
String message,
List<SonarXmlCheck.Secondary> secondaries) |
| Constructor and Description |
|---|
Secondary(XmlTextRange range,
String message) |
Copyright © 2009–2018 SonarSource. All rights reserved.