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 Location
public int getColumnNumber()
getColumnNumber
in interface Location
public int getLineNumber()
getLineNumber
in interface Location
public String getPublicId()
getPublicId
in interface Location
public String getSystemId()
getSystemId
in interface Location
public org.codehaus.stax2.XMLStreamLocation2 getContext()
getContext
in interface org.codehaus.stax2.XMLStreamLocation2
Copyright © 2012-2015 FasterXML. All Rights Reserved.