|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry5.ioc.internal.services.StringLocation
public final class StringLocation
Implementation of Location
used when the underlying resource isn't really known.
Constructor Summary | |
---|---|
StringLocation(String description,
int line)
|
Method Summary | |
---|---|
int |
getColumn()
Returns 0. |
int |
getLine()
The line number within the resource, if known, or -1 otherwise. |
Resource |
getResource()
Returns null; we don't know where the file really is (it's probably a class on the class path). |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StringLocation(String description, int line)
Method Detail |
---|
public String toString()
toString
in class Object
public int getColumn()
getColumn
in interface Location
public int getLine()
Location
getLine
in interface Location
public Resource getResource()
getResource
in interface Location
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |