|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jexl2.DebugInfo
public class DebugInfo
Helper class to carry in info such as a url/file name, line and column for debugging information reporting.
Constructor Summary | |
---|---|
DebugInfo(String tn,
int l,
int c)
Create info. |
Method Summary | |
---|---|
DebugInfo |
debugInfo()
Gets the underlying debugging information. |
String |
debugString()
Formats this information for debugging purpose. |
int |
getColumn()
Gets the column number. |
int |
getLine()
Gets the line number. |
String |
getName()
Gets the file/script/url name. |
String |
toString()
Formats this info in the form 'name@line:column'. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DebugInfo(String tn, int l, int c)
tn
- template namel
- line numberc
- columnMethod Detail |
---|
public String toString()
toString
in class Object
public String debugString()
debugString
in interface JexlInfo
public DebugInfo debugInfo()
debugInfo
in interface JexlInfo
public String getName()
public int getLine()
public int getColumn()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |