Class JexlInfo
java.lang.Object
org.apache.commons.jexl3.JexlInfo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDescribes errors more precisely. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionat(int l, int c) Creates info reusing the name.detach()Gets this instance or a copy without any decorationsstatic JexlInfofrom(JexlScript script) Gets the info from a script.final intGets the column number.Gets error detailfinal intgetLine()Gets the line number.final StringgetName()Gets the file/script/url name.toString()Formats this info in the form 'name@line:column'.
-
Constructor Details
-
JexlInfo
public JexlInfo()Create an information structure for dynamic set/get/invoke/new.This gathers the class, method and line number of the first calling method outside of o.a.c.jexl3.
-
JexlInfo
-
JexlInfo
-
-
Method Details
-
from
Gets the info from a script.- Parameters:
script- the script- Returns:
- the info
-
at
-
detach
-
getColumn
-
getDetail
Gets error detail- Returns:
- the detailed information in case of an error
-
getLine
-
getName
-
toString
-