Constructor and Description |
---|
Location(int line,
int column,
int charOffset,
String publicId,
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.
|
String |
getPublicId()
Returns the public ID of the XML
|
String |
getSystemId()
Returns the system ID of the XML
|
public int getLineNumber()
getLineNumber
in interface ILocation
public int getColumnNumber()
getColumnNumber
in interface ILocation
public int getCharacterOffset()
getCharacterOffset
in interface ILocation
public String getPublicId()
getPublicId
in interface ILocation
public String getSystemId()
getSystemId
in interface ILocation
Copyright © 2012. All Rights Reserved.