| Constructor and Description |
|---|
Location(int line,
int column,
int charOffset,
java.lang.String publicId,
java.lang.String systemId) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCharacterOffset()
Return the byte or character offset into the input source this location
is pointing to.
|
int |
getColumnNumber()
Return the column number where the current event ends, returns -1 if none
is available.
|
int |
getLineNumber()
Return the line number where the current event ends, returns -1 if none
is available.
|
java.lang.String |
getPublicId()
Returns the public ID of the XML
|
java.lang.String |
getSystemId()
Returns the system ID of the XML
|
public Location(int line,
int column,
int charOffset,
java.lang.String publicId,
java.lang.String systemId)
public int getLineNumber()
getLineNumber in interface ILocationpublic int getColumnNumber()
getColumnNumber in interface ILocationpublic int getCharacterOffset()
getCharacterOffset in interface ILocationpublic java.lang.String getPublicId()
getPublicId in interface ILocationpublic java.lang.String getSystemId()
getSystemId in interface ILocation