org.apache.commons.jexl.util.introspection

Class 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
intgetColumn()
Gets the column number.
intgetLine()
Gets the line number.
StringgetTemplateName()
Gets the template name.

Constructor Detail

Info

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

Parameters: tn template name l line number c column

Method Detail

getColumn

public int getColumn()
Gets the column number.

Returns: the column.

getLine

public int getLine()
Gets the line number.

Returns: line number.

getTemplateName

public String getTemplateName()
Gets the template name.

Returns: template name

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