public class StreamLocation extends Object implements Location
| Constructor and Description |
|---|
StreamLocation(Location location) |
| 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() |
String |
getSystemId() |
public StreamLocation(Location location)
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 LocationCopyright © 2023. All rights reserved.