Package org.apache.commons.jexl3
Class JexlInfo
java.lang.Object
org.apache.commons.jexl3.JexlInfo
Helper class to carry information such as a url/file name, line and column for
 debugging information reporting.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceDescribes errors more precisely.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
JexlInfopublic 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. 
- 
JexlInfoThe copy constructor.- Parameters:
- copy- the instance to copy
 
- 
JexlInfoCreate info.- Parameters:
- source- source name
- l- line number
- c- column number
 
 
- 
- 
Method Details- 
fromGets the info from a script.- Parameters:
- script- the script
- Returns:
- the info
 
- 
atCreates info reusing the name.- Parameters:
- l- the line
- c- the column
- Returns:
- a new info instance
 
- 
detachGets this instance or a copy without any decorations- Returns:
- this instance or a copy without any decorations
 
- 
getColumnGets the column number.- Returns:
- the column.
 
- 
getDetailGets error detail- Returns:
- the detailed information in case of an error
 
- 
getLineGets the line number.- Returns:
- line number.
 
- 
getNameGets the file/script/url name.- Returns:
- template name
 
- 
toStringFormats this info in the form 'name@line:column'.
 
-