| Constructor and Description |
|---|
EmptyLocator() |
| 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). |
public static final Locator INSTANCE
public int getLineNumber()
Locator-1.getLineNumber in interface Locatorpublic int getColumnNumber()
Locator-1.getColumnNumber in interface Locatorpublic String getReference()
Locatornull).getReference in interface Locatornull)Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.