| Modifier and Type | Field and Description |
|---|---|
protected int |
mCharOffset |
protected int |
mCol |
protected String |
mDesc |
protected String |
mPublicId |
protected int |
mRow |
protected String |
mSystemId |
| 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,
long 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() |
protected final String mPublicId
protected final String mSystemId
protected final int mCharOffset
protected final int mCol
protected final int mRow
protected transient String mDesc
public static LocationImpl fromZeroBased(String pubId, String sysId, long 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-2015 FasterXML. All Rights Reserved.