public class WstxInputLocation extends Object implements Serializable, org.codehaus.stax2.XMLStreamLocation2
Location
, used by Wstx readers.Modifier and Type | Field and 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 and Description |
---|
WstxInputLocation(WstxInputLocation ctxt,
String pubId,
String sysId,
long charOffset,
int row,
int col) |
WstxInputLocation(WstxInputLocation ctxt,
String pubId,
SystemId sysId,
long charOffset,
int row,
int col) |
Modifier and Type | Method and 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 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.