public interface Locator
Sink
event with a document location.Modifier and Type | Method and Description |
---|---|
int |
getColumnNumber()
Returns the column number for the sink event (starting from 1).
|
int |
getLineNumber()
Returns the line number for the sink event (starting from 1).
|
String |
getReference()
Returns the underlying source reference (for file based documents a relative file path, otherwise an arbitrary string or
null ). |
String getReference()
null
).null
)int getLineNumber()
-1
.int getColumnNumber()
-1
.Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.