|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry5.ioc.internal.util.LocationImpl
public final class LocationImpl
Implementation class for Location
.
Constructor Summary | |
---|---|
LocationImpl(Resource resource)
|
|
LocationImpl(Resource resource,
int line)
|
|
LocationImpl(Resource resource,
int line,
int column)
|
Method Summary | |
---|---|
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()
|
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 line)
public LocationImpl(Resource resource, int line, int column)
Method Detail |
---|
public Resource getResource()
Location
getResource
in interface Location
public int getLine()
Location
getLine
in interface Location
public int getColumn()
Location
getColumn
in interface Location
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |