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 |
String |
getInvalidReference()
Get the specific invalid reference string. |
String |
toString()
Formats a textual representation of this object as SOURCE
[line X, column Y]: invalidReference . |
InvalidReferenceInfo
public InvalidReferenceInfo(String invalidReference,
Info info)
getInvalidReference
public String getInvalidReference()
- Get the specific invalid reference string.
- Returns:
- the invalid reference string
toString
public 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-2010 The Apache Software Foundation. All Rights Reserved.