Package org.apache.commons.jexl2
Class DebugInfo
- java.lang.Object
-
- org.apache.commons.jexl2.DebugInfo
-
-
Constructor Summary
Constructors Constructor Description DebugInfo(java.lang.String tn, int l, int c)Create info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DebugInfodebugInfo()Gets the underlying debugging information.java.lang.StringdebugString()Formats this information for debugging purpose.intgetColumn()Gets the column number.intgetLine()Gets the line number.java.lang.StringgetName()Gets the file/script/url name.java.lang.StringtoString()Formats this info in the form 'name@line:column'.
-
-
-
Method Detail
-
toString
public java.lang.String toString()
Formats this info in the form 'name@line:column'.- Overrides:
toStringin classjava.lang.Object- Returns:
- the formatted info
-
debugString
public java.lang.String debugString()
Formats this information for debugging purpose.- Specified by:
debugStringin interfaceJexlInfo- Returns:
- a human readable string.
-
debugInfo
public DebugInfo debugInfo()
Gets the underlying debugging information.
-
getName
public java.lang.String getName()
Gets the file/script/url name.- Returns:
- template name
-
getLine
public int getLine()
Gets the line number.- Returns:
- line number.
-
getColumn
public int getColumn()
Gets the column number.- Returns:
- the column.
-
-