public class JexlInfo extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
JexlInfo.Detail
Describes errors more precisely.
|
Modifier | Constructor and Description |
---|---|
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.
|
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 numberprotected JexlInfo(JexlInfo copy)
copy
- the instance to copypublic JexlInfo.Detail getDetail()
public JexlInfo at(int l, int c)
l
- the linec
- the columnpublic String toString()
public final String getName()
public final int getLine()
public final int getColumn()
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.