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,
int 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() |
public static LocationImpl fromZeroBased(String pubId, String sysId, int 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-2013 FasterXML. All Rights Reserved.