org.apache.velocity.app.event.implement
Class InvalidReferenceInfo
java.lang.Object
org.apache.velocity.util.introspection.Info
org.apache.velocity.app.event.implement.InvalidReferenceInfo
public class InvalidReferenceInfo
- extends Info
Convenience class to use when reporting out invalid syntax
with line, column, and template name.
- Since:
- 1.5
- Version:
- $Id: InvalidReferenceInfo.java 685685 2008-08-13 21:43:27Z nbubna $
- Author:
- Will Glass-Husain
Method Summary |
java.lang.String |
getInvalidReference()
Get the specific invalid reference string. |
java.lang.String |
toString()
Formats a textual representation of this object as SOURCE
[line X, column Y]: invalidReference . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InvalidReferenceInfo
public InvalidReferenceInfo(java.lang.String invalidReference,
Info info)
getInvalidReference
public java.lang.String getInvalidReference()
- Get the specific invalid reference string.
- Returns:
- the invalid reference string
toString
public java.lang.String toString()
- Formats a textual representation of this object as
SOURCE
[line X, column Y]: invalidReference
.
- Overrides:
toString
in class Info
- Returns:
- String representing this object.
Copyright © 2000-2012. All Rights Reserved.