Uses of Class org.apache.velocity.util.introspection.Info (Velocity 1.7 API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.velocity.util.introspection.Info

Packages that use Info
org.apache.velocity.app.event |
org.apache.velocity.app.event.implement |
org.apache.velocity.exception |
org.apache.velocity.runtime.directive |
org.apache.velocity.runtime.log |
org.apache.velocity.runtime.parser.node |
org.apache.velocity.util.introspection |

Uses of Info in org.apache.velocity.app.event

Methods in org.apache.velocity.app.event with parameters of type Info
`Object` | `InvalidReferenceEventHandler.invalidGetMethod(Context context, String reference, Object object, String property, Info info)` Called when object is null or there is no getter for the given property.
`boolean` | `InvalidReferenceEventHandler.invalidSetMethod(Context context, String leftreference, String rightreference, Info info)` Called when object is null or there is no setter for the given property.
`Object` | `InvalidReferenceEventHandler.invalidMethod(Context context, String reference, Object object, String method, Info info)` Called when object is null or the given method does not exist.
`static Object` | `EventHandlerUtil.invalidGetMethod(RuntimeServices rsvc, InternalContextAdapter context, String reference, Object object, String property, Info info)` Called when an invalid get method is encountered.
`static void` | `EventHandlerUtil.invalidSetMethod(RuntimeServices rsvc, InternalContextAdapter context, String leftreference, String rightreference, Info info)` Called when an invalid set method is encountered.
`static Object` | `EventHandlerUtil.invalidMethod(RuntimeServices rsvc, InternalContextAdapter context, String reference, Object object, String method, Info info)` Called when an invalid method is encountered.

Uses of Info in org.apache.velocity.app.event.implement

Subclasses of Info in org.apache.velocity.app.event.implement
`class` | `InvalidReferenceInfo` Convenience class to use when reporting out invalid syntax with line, column, and template name.

Methods in org.apache.velocity.app.event.implement with parameters of type Info
`Object` | `ReportInvalidReferences.invalidGetMethod(Context context, String reference, Object object, String property, Info info)` Collect the error and/or throw an exception, depending on configuration.
`Object` | `ReportInvalidReferences.invalidMethod(Context context, String reference, Object object, String method, Info info)` Collect the error and/or throw an exception, depending on configuration.
`boolean` | `ReportInvalidReferences.invalidSetMethod(Context context, String leftreference, String rightreference, Info info)` Collect the error and/or throw an exception, depending on configuration.

Constructors in org.apache.velocity.app.event.implement with parameters of type Info
`InvalidReferenceInfo(String invalidReference, Info info)`

Uses of Info in org.apache.velocity.exception

Constructors in org.apache.velocity.exception with parameters of type Info
`ParseErrorException(String exceptionMessage, Info info)` Create a ParseErrorRuntimeException with the given message and info
`ParseErrorException(String exceptionMessage, Info info, String invalidSyntax)` Create a ParseErrorRuntimeException with the given message and info

Uses of Info in org.apache.velocity.runtime.directive

Fields in org.apache.velocity.runtime.directive declared as Info
`protected Info` | `Foreach.uberInfo` immutable, so create in init

Uses of Info in org.apache.velocity.runtime.log

Methods in org.apache.velocity.runtime.log with parameters of type Info
`static String` | `Log.formatFileString(Info info)` Simply creates a string that formats the template filename with line number and column.

Uses of Info in org.apache.velocity.runtime.parser.node

Fields in org.apache.velocity.runtime.parser.node declared as Info
`protected Info` | `ASTSetDirective.uberInfo` This is really immutable after the init, so keep one for this node
`protected Info` | `ASTReference.uberInfo`
`protected Info` | `ASTMethod.uberInfo`
`protected Info` | `ASTIdentifier.uberInfo` This is really immutable after the init, so keep one for this node

Uses of Info in org.apache.velocity.util.introspection

Methods in org.apache.velocity.util.introspection with parameters of type Info
`Iterator` | `UberspectImpl.getIterator(Object obj, Info i)` To support iterative objects used in a `#foreach()` loop.
`VelMethod` | `UberspectImpl.getMethod(Object obj, String methodName, Object[] args, Info i)` Method
`VelPropertyGet` | `UberspectImpl.getPropertyGet(Object obj, String identifier, Info i)` Property getter
`VelPropertySet` | `UberspectImpl.getPropertySet(Object obj, String identifier, Object arg, Info i)` Property setter
`Iterator` | `Uberspect.getIterator(Object obj, Info info)` To support iteratives - #foreach()
`VelMethod` | `Uberspect.getMethod(Object obj, String method, Object[] args, Info info)` Returns a general method, corresponding to $foo.bar( $woogie )
`VelPropertyGet` | `Uberspect.getPropertyGet(Object obj, String identifier, Info info)` Property getter - returns VelPropertyGet appropos for #set($foo = $bar.woogie)
`VelPropertySet` | `Uberspect.getPropertySet(Object obj, String identifier, Object arg, Info info)` Property setter - returns VelPropertySet appropos for #set($foo.bar = "geir")
`Iterator` | `SecureUberspector.getIterator(Object obj, Info i)` Get an iterator from the given object.
`Iterator` | `LinkingUberspector.getIterator(Object obj, Info i)` To support iterative objects used in a `#foreach()` loop.
`VelMethod` | `LinkingUberspector.getMethod(Object obj, String methodName, Object[] args, Info i)` Method
`VelPropertyGet` | `LinkingUberspector.getPropertyGet(Object obj, String identifier, Info i)` Property getter
`VelPropertySet` | `LinkingUberspector.getPropertySet(Object obj, String identifier, Object arg, Info i)` Property setter
`Iterator` | `AbstractChainableUberspector.getIterator(Object obj, Info i)` To support iterative objects used in a `#foreach()` loop.
`VelMethod` | `AbstractChainableUberspector.getMethod(Object obj, String methodName, Object[] args, Info i)` Method
`VelPropertyGet` | `AbstractChainableUberspector.getPropertyGet(Object obj, String identifier, Info i)` Property getter
`VelPropertySet` | `AbstractChainableUberspector.getPropertySet(Object obj, String identifier, Object arg, Info i)` Property setter

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.