Modifier and Type | Class and Description |
---|---|
static interface |
JexlInfo.Detail
Describes errors more precisely.
|
Modifier | Constructor and Description |
---|---|
|
JexlInfo()
Create an information structure for dynamic set/get/invoke/new.
|
protected |
JexlInfo(JexlInfo copy)
The copy constructor.
|
|
JexlInfo(String source,
int l,
int c)
Create info.
|
Modifier and Type | Method and Description |
---|---|
JexlInfo |
at(int l,
int c)
Creates info reusing the name.
|
JexlInfo |
detach() |
static JexlInfo |
from(JexlScript script)
Gets the info from a script.
|
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'.
|
public JexlInfo(String source, int l, int c)
source
- source namel
- line numberc
- column numberpublic JexlInfo()
This gathers the class, method and line number of the first calling method outside of o.a.c.jexl3.
public JexlInfo.Detail getDetail()
public JexlInfo at(int l, int c)
l
- the linec
- the columnpublic final int getLine()
public final int getColumn()
public static JexlInfo from(JexlScript script)
script
- the scriptCopyright © 2001–2022 The Apache Software Foundation. All rights reserved.