A B C E F G I N O P R S T V W X 
All Classes All Packages

A

asList(NodeList) - Static method in class org.sonarsource.analyzer.commons.xml.XmlFile
Transform a NodeList (from DOM interface) into a java List
attributeNameLocation(Attr) - Static method in class org.sonarsource.analyzer.commons.xml.XmlFile
 
attributeValueLocation(Attr) - Static method in class org.sonarsource.analyzer.commons.xml.XmlFile
 

B

build() - Method in class org.sonarsource.analyzer.commons.xml.XPathBuilder
 

C

children(Node) - Static method in class org.sonarsource.analyzer.commons.xml.XmlFile
Get all the children of a node, as a proper java list.
create(String) - Static method in class org.sonarsource.analyzer.commons.xml.XmlFile
 
create(InputFile) - Static method in class org.sonarsource.analyzer.commons.xml.XmlFile
 
createDocumentBuilder(boolean) - Static method in class org.sonarsource.analyzer.commons.xml.SafeDomParserFactory
 
createDocumentBuilder(boolean) - Static method in class org.sonarsource.analyzer.commons.xml.SafetyFactory
createXMLInputFactory() - Static method in class org.sonarsource.analyzer.commons.xml.SafeStaxParserFactory
 
createXMLInputFactory() - Static method in class org.sonarsource.analyzer.commons.xml.SafetyFactory

E

END - org.sonarsource.analyzer.commons.xml.XmlFile.Location
 
endLocation(CDATASection) - Static method in class org.sonarsource.analyzer.commons.xml.XmlFile
 
endLocation(Element) - Static method in class org.sonarsource.analyzer.commons.xml.XmlFile
 
evaluate(XPathExpression, Node) - Method in class org.sonarsource.analyzer.commons.xml.checks.SimpleXPathBasedCheck
Evaluates a XPath expression on a given node from DOM.
evaluateAsList(XPathExpression, Node) - Method in class org.sonarsource.analyzer.commons.xml.checks.SimpleXPathBasedCheck
Evaluates a XPath expression on a given node from DOM, returning it as a java List of Node, possibly empty.

F

forExpression(String) - Static method in class org.sonarsource.analyzer.commons.xml.XPathBuilder
 

G

getAttributes() - Method in class org.sonarsource.analyzer.commons.xml.PrologElement
 
getCharset() - Method in class org.sonarsource.analyzer.commons.xml.XmlFile
 
getContents() - Method in class org.sonarsource.analyzer.commons.xml.XmlFile
 
getDocument() - Method in class org.sonarsource.analyzer.commons.xml.XmlFile
 
getEndColumn() - Method in class org.sonarsource.analyzer.commons.xml.XmlTextRange
 
getEndLine() - Method in class org.sonarsource.analyzer.commons.xml.XmlTextRange
 
getInputFile() - Method in class org.sonarsource.analyzer.commons.xml.XmlFile
 
getName() - Method in class org.sonarsource.analyzer.commons.xml.PrologElement.PrologAttribute
 
getNameLocation() - Method in class org.sonarsource.analyzer.commons.xml.PrologElement.PrologAttribute
 
getNamespaceAwareDocument() - Method in class org.sonarsource.analyzer.commons.xml.XmlFile
 
getNamespaceUnawareDocument() - Method in class org.sonarsource.analyzer.commons.xml.XmlFile
 
getPrologElement() - Method in class org.sonarsource.analyzer.commons.xml.XmlFile
 
getPrologEndLocation() - Method in class org.sonarsource.analyzer.commons.xml.PrologElement
 
getPrologStartLocation() - Method in class org.sonarsource.analyzer.commons.xml.PrologElement
 
getRange(Node, XmlFile.Location) - Static method in class org.sonarsource.analyzer.commons.xml.XmlFile
 
getStartColumn() - Method in class org.sonarsource.analyzer.commons.xml.XmlTextRange
 
getStartLine() - Method in class org.sonarsource.analyzer.commons.xml.XmlTextRange
 
getValue() - Method in class org.sonarsource.analyzer.commons.xml.PrologElement.PrologAttribute
 
getValueLocation() - Method in class org.sonarsource.analyzer.commons.xml.PrologElement.PrologAttribute
 
getXPathExpression(String) - Method in class org.sonarsource.analyzer.commons.xml.checks.SimpleXPathBasedCheck
Compiles an XPath 1.0 expression

I

inputFile() - Method in class org.sonarsource.analyzer.commons.xml.checks.SonarXmlCheck
 

N

NAME - org.sonarsource.analyzer.commons.xml.XmlFile.Location
 
nameLocation(Element) - Static method in class org.sonarsource.analyzer.commons.xml.XmlFile
 
NODE - org.sonarsource.analyzer.commons.xml.XmlFile.Location
 
nodeAttribute(Node, String) - Static method in class org.sonarsource.analyzer.commons.xml.XmlFile
Try to retrieve the attribute node corresponding to an attribute name in a given node.
nodeLocation(Node) - Static method in class org.sonarsource.analyzer.commons.xml.XmlFile
 

O

org.sonarsource.analyzer.commons.xml - package org.sonarsource.analyzer.commons.xml
 
org.sonarsource.analyzer.commons.xml.checks - package org.sonarsource.analyzer.commons.xml.checks
 

P

ParseException - Exception in org.sonarsource.analyzer.commons.xml
 
ParseException(Exception) - Constructor for exception org.sonarsource.analyzer.commons.xml.ParseException
 
PrologAttribute(String, XmlTextRange, String, XmlTextRange) - Constructor for class org.sonarsource.analyzer.commons.xml.PrologElement.PrologAttribute
 
PrologElement - Class in org.sonarsource.analyzer.commons.xml
 
PrologElement(List<PrologElement.PrologAttribute>, XmlTextRange, XmlTextRange) - Constructor for class org.sonarsource.analyzer.commons.xml.PrologElement
 
PrologElement.PrologAttribute - Class in org.sonarsource.analyzer.commons.xml
 

R

reportIssue(XmlTextRange, String, List<SonarXmlCheck.Secondary>) - Method in class org.sonarsource.analyzer.commons.xml.checks.SonarXmlCheck
 
reportIssue(Node, String) - Method in class org.sonarsource.analyzer.commons.xml.checks.SonarXmlCheck
 
reportIssueOnFile(String, List<Integer>) - Method in class org.sonarsource.analyzer.commons.xml.checks.SonarXmlCheck
 
ruleKey() - Method in class org.sonarsource.analyzer.commons.xml.checks.SonarXmlCheck
 

S

SafeDomParserFactory - Class in org.sonarsource.analyzer.commons.xml
 
SafeStaxParserFactory - Class in org.sonarsource.analyzer.commons.xml
 
SafetyFactory - Class in org.sonarsource.analyzer.commons.xml
 
scanFile(SensorContext, RuleKey, XmlFile) - Method in class org.sonarsource.analyzer.commons.xml.checks.SonarXmlCheck
 
scanFile(XmlFile) - Method in class org.sonarsource.analyzer.commons.xml.checks.SonarXmlCheck
 
Secondary(XmlTextRange, String) - Constructor for class org.sonarsource.analyzer.commons.xml.checks.SonarXmlCheck.Secondary
 
Secondary(Node, String) - Constructor for class org.sonarsource.analyzer.commons.xml.checks.SonarXmlCheck.Secondary
 
SimpleXPathBasedCheck - Class in org.sonarsource.analyzer.commons.xml.checks
 
SimpleXPathBasedCheck() - Constructor for class org.sonarsource.analyzer.commons.xml.checks.SimpleXPathBasedCheck
 
SonarXmlCheck - Class in org.sonarsource.analyzer.commons.xml.checks
 
SonarXmlCheck() - Constructor for class org.sonarsource.analyzer.commons.xml.checks.SonarXmlCheck
 
SonarXmlCheck.Secondary - Class in org.sonarsource.analyzer.commons.xml.checks
 
START - org.sonarsource.analyzer.commons.xml.XmlFile.Location
 
startLocation(CDATASection) - Static method in class org.sonarsource.analyzer.commons.xml.XmlFile
 
startLocation(Element) - Static method in class org.sonarsource.analyzer.commons.xml.XmlFile
 

T

toString() - Method in class org.sonarsource.analyzer.commons.xml.XmlTextRange
 

V

VALUE - org.sonarsource.analyzer.commons.xml.XmlFile.Location
 
valueOf(String) - Static method in enum org.sonarsource.analyzer.commons.xml.XmlFile.Location
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.sonarsource.analyzer.commons.xml.XmlFile.Location
Returns an array containing the constants of this enum type, in the order they are declared.

W

withNamespace(String, String) - Method in class org.sonarsource.analyzer.commons.xml.XPathBuilder
 

X

XmlFile - Class in org.sonarsource.analyzer.commons.xml
 
XmlFile.Location - Enum in org.sonarsource.analyzer.commons.xml
 
XmlTextRange - Class in org.sonarsource.analyzer.commons.xml
 
XmlTextRange(int, int, int, int) - Constructor for class org.sonarsource.analyzer.commons.xml.XmlTextRange
 
XmlTextRange(XmlTextRange, XmlTextRange) - Constructor for class org.sonarsource.analyzer.commons.xml.XmlTextRange
 
XPathBuilder - Class in org.sonarsource.analyzer.commons.xml
 
A B C E F G I N O P R S T V W X 
All Classes All Packages