|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.android.utils.PositionXmlParser.DefaultPosition
protected static class PositionXmlParser.DefaultPosition
Constructor Summary | |
---|---|
PositionXmlParser.DefaultPosition(int line,
int column,
int offset)
Creates a new PositionXmlParser.Position |
Method Summary | |
---|---|
int |
getColumn()
|
PositionXmlParser.Position |
getEnd()
Linked position: for a begin position this will point to the corresponding end position. |
int |
getLine()
|
int |
getOffset()
|
void |
setEnd(PositionXmlParser.Position end)
Linked position: for a begin position this will point to the corresponding end position. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PositionXmlParser.DefaultPosition(int line, int column, int offset)
PositionXmlParser.Position
line
- the 0-based line number, or -1 if unknowncolumn
- the 0-based column number, or -1 if unknownoffset
- the offset, or -1 if unknownMethod Detail |
---|
public int getLine()
getLine
in interface PositionXmlParser.Position
public int getOffset()
getOffset
in interface PositionXmlParser.Position
public int getColumn()
getColumn
in interface PositionXmlParser.Position
public PositionXmlParser.Position getEnd()
PositionXmlParser.Position
getEnd
in interface PositionXmlParser.Position
public void setEnd(@NonNull PositionXmlParser.Position end)
PositionXmlParser.Position
setEnd
in interface PositionXmlParser.Position
end
- the end position
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |