| Constructor and Description |
|---|
LocationImpl(String pubId,
String sysId,
int charOffset,
int row,
int col) |
| Modifier and Type | Method and Description |
|---|---|
static LocationImpl |
fromZeroBased(String pubId,
String sysId,
int rawOffset,
int rawRow,
int rawCol)
Helper method that will adjust given internal zero-based values
to 1-based values that should be externally visible.
|
int |
getCharacterOffset() |
int |
getColumnNumber() |
org.codehaus.stax2.XMLStreamLocation2 |
getContext() |
static LocationImpl |
getEmptyLocation() |
int |
getLineNumber() |
String |
getPublicId() |
String |
getSystemId() |
String |
toString() |
public static LocationImpl fromZeroBased(String pubId, String sysId, int rawOffset, int rawRow, int rawCol)
public static LocationImpl getEmptyLocation()
public int getCharacterOffset()
getCharacterOffset in interface Locationpublic int getColumnNumber()
getColumnNumber in interface Locationpublic int getLineNumber()
getLineNumber in interface Locationpublic String getPublicId()
getPublicId in interface Locationpublic String getSystemId()
getSystemId in interface Locationpublic org.codehaus.stax2.XMLStreamLocation2 getContext()
getContext in interface org.codehaus.stax2.XMLStreamLocation2Copyright © 2012-2013 FasterXML. All Rights Reserved.