Modifier and Type | Field and Description |
---|---|
protected int |
_charOffset |
protected int |
_col |
protected String |
_desc |
protected String |
_publicId |
protected int |
_row |
protected String |
_systemId |
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 _publicId
protected final String _systemId
protected final int _charOffset
protected final int _col
protected final int _row
protected transient String _desc
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 © 2018 FasterXML. All rights reserved.