public final class LocationImpl extends Object implements Location
Location
.Constructor and Description |
---|
LocationImpl(Resource resource) |
LocationImpl(Resource resource,
int line) |
LocationImpl(Resource resource,
int line,
int column) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getColumn()
The column number within the line if known, or -1 otherwise.
|
int |
getLine()
The line number within the resource, if known, or -1 otherwise.
|
Resource |
getResource()
The resource from which the object tagged with a location was derived.
|
int |
hashCode() |
String |
toString() |
public LocationImpl(Resource resource)
public LocationImpl(Resource resource, int line)
public LocationImpl(Resource resource, int line, int column)
public Resource getResource()
Location
getResource
in interface Location
public int getLine()
Location
public int getColumn()
Location
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.