|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 Locationpublic int getLine()
Location
getLine in interface Locationpublic int getColumn()
Location
getColumn in interface Locationpublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||