org.apache.commons.jexl.util.introspection
Class Info

java.lang.Object
  extended by org.apache.commons.jexl.util.introspection.Info

public class Info
extends java.lang.Object

Little class to carry in info such as template name, line and column for information error reporting from the uberspector implementations Taken from velocity for self-sufficiency.

Since:
1.0
Version:
$Id: Info.java 398463 2006-04-30 23:48:42Z dion $
Author:
Geir Magnusson Jr.

Field Summary
private  int column
          column number.
private  int line
          line number.
private  java.lang.String templateName
          name.
 
Constructor Summary
Info(java.lang.String tn, int l, int c)
          Create info.
 
Method Summary
 int getColumn()
          Gets the column number.
 int getLine()
          Gets the line number.
 java.lang.String getTemplateName()
          Gets the template name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

line

private int line
line number.


column

private int column
column number.


templateName

private java.lang.String templateName
name.

Constructor Detail

Info

public Info(java.lang.String tn,
            int l,
            int c)
Create info.

Parameters:
tn - template name
l - line number
c - column
Method Detail

getTemplateName

public java.lang.String getTemplateName()
Gets the template 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.