Serializable, Location, org.codehaus.stax2.XMLStreamLocation2public class WstxInputLocation extends Object implements Serializable, org.codehaus.stax2.XMLStreamLocation2
Location, used by Wstx readers.| Modifier and Type | Field | Description |
|---|---|---|
protected long |
mCharOffset |
|
protected int |
mCol |
|
protected WstxInputLocation |
mContext |
Enclosing (parent) input location; location from which current
location is derived.
|
protected String |
mDesc |
|
protected String |
mPublicId |
|
protected int |
mRow |
|
protected String |
mSystemId |
| Constructor | Description |
|---|---|
WstxInputLocation(WstxInputLocation ctxt,
String pubId,
SystemId sysId,
long charOffset,
int row,
int col) |
|
WstxInputLocation(WstxInputLocation ctxt,
String pubId,
String sysId,
long charOffset,
int row,
int col) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object o) |
|
int |
getCharacterOffset() |
|
long |
getCharacterOffsetLong() |
|
int |
getColumnNumber() |
|
org.codehaus.stax2.XMLStreamLocation2 |
getContext() |
|
static WstxInputLocation |
getEmptyLocation() |
|
int |
getLineNumber() |
|
String |
getPublicId() |
|
String |
getSystemId() |
|
int |
hashCode() |
|
String |
toString() |
protected final WstxInputLocation mContext
protected final String mPublicId
protected final String mSystemId
protected final long mCharOffset
protected final int mCol
protected final int mRow
protected transient String mDesc
public WstxInputLocation(WstxInputLocation ctxt, String pubId, String sysId, long charOffset, int row, int col)
ctxt - Enclosing input location, if anypublic WstxInputLocation(WstxInputLocation ctxt, String pubId, SystemId sysId, long charOffset, int row, int col)
public static WstxInputLocation getEmptyLocation()
public long getCharacterOffsetLong()
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 © 2019 FasterXML. All rights reserved.