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

java.lang.Object
  |
  +--org.apache.commons.jexl.util.introspection.Info

public class Info
extends 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 $

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

Constructor Detail

Info

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

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

getTemplateName

public 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.


Copyright © 2003-2006 The Apache Software Foundation. All Rights Reserved.