public class Locator extends Object implements Serializable
| Constructor and Description |
|---|
Locator(String uri,
int line,
int column)
Creates new LocatorImpl.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getColumnNumber()
Return the column number where the current document event ends.
|
int |
getLineNumber()
Return the line number where the current document event ends.
|
String |
getUri() |
int |
hashCode() |
void |
setColumnNumber(int column)
Set the columnNumber to a new value.
|
void |
setLineNumber(int line)
Set the lineNumber to a new value.
|
void |
setUri(String uri)
Set the uri to a new value.
|
String |
toString() |
public Locator(String uri, int line, int column)
uri - the uriline - the lineNumbercolumn - the columnNumberpublic String getUri()
public void setUri(String uri)
uri - the new uripublic int getColumnNumber()
getLineNumber()public void setColumnNumber(int column)
column - the new columnNumberpublic int getLineNumber()
getColumnNumber()public void setLineNumber(int line)
line - the new lineNumberCopyright © 2019. All rights reserved.