|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jexl3.JexlInfo
public class JexlInfo
Helper class to carry information such as a url/file name, line and column for debugging information reporting.
Nested Class Summary | |
---|---|
static interface |
JexlInfo.Detail
Describes errors more precisely. |
Constructor Summary | |
---|---|
protected |
JexlInfo(JexlInfo copy)
The copy constructor. |
|
JexlInfo(String source,
int l,
int c)
Create info. |
Method Summary | |
---|---|
JexlInfo |
at(int l,
int c)
Creates info reusing the name. |
int |
getColumn()
Gets the column number. |
JexlInfo.Detail |
getDetail()
|
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 JexlInfo(String source, int l, int c)
source
- source namel
- line numberc
- column numberprotected JexlInfo(JexlInfo copy)
copy
- the instance to copyMethod Detail |
---|
public JexlInfo.Detail getDetail()
public JexlInfo at(int l, int c)
l
- the linec
- the column
public String toString()
toString
in class Object
public final String getName()
public final int getLine()
public final int getColumn()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |