|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.impl.LocationImpl
public final class LocationImpl
Implementation of the Location
interface.
Constructor Summary | |
---|---|
LocationImpl(Resource resource)
|
|
LocationImpl(Resource resource,
int lineNumber)
|
|
LocationImpl(Resource resource,
int lineNumber,
int columnNumber)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
|
int |
getColumnNumber()
The column number, or -1 if not known. |
int |
getLineNumber()
The line within the resource containing the location, or -1 if the line number is not known. |
Resource |
getResource()
The resource containing the location. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LocationImpl(Resource resource)
public LocationImpl(Resource resource, int lineNumber)
public LocationImpl(Resource resource, int lineNumber, int columnNumber)
Method Detail |
---|
public Resource getResource()
Location
getResource
in interface Location
public int getLineNumber()
Location
getLineNumber
in interface Location
public int getColumnNumber()
Location
getColumnNumber
in interface Location
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |