Class XmlTextRange
- java.lang.Object
-
- org.sonarsource.analyzer.commons.xml.XmlTextRange
-
public class XmlTextRange extends Object
-
-
Constructor Summary
Constructors Constructor Description XmlTextRange(int startLine, int startColumn, int endLine, int endColumn)
XmlTextRange(XmlTextRange start, XmlTextRange end)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEndColumn()
int
getEndLine()
int
getStartColumn()
int
getStartLine()
String
toString()
-
-
-
Constructor Detail
-
XmlTextRange
public XmlTextRange(int startLine, int startColumn, int endLine, int endColumn)
-
XmlTextRange
public XmlTextRange(XmlTextRange start, XmlTextRange end)
-
-
Method Detail
-
getStartLine
public int getStartLine()
- Returns:
- 1-based line number of a range start
-
getStartColumn
public int getStartColumn()
- Returns:
- 0-based column number of a range start
-
getEndLine
public int getEndLine()
- Returns:
- 1-based line number of a range end
-
getEndColumn
public int getEndColumn()
- Returns:
- 0-based column number of a range end
-
-