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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Info
public Info(String tn,
int l,
int c)
- Create info.
- Parameters:
tn
- template namel
- line numberc
- column
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.