Uses of Class
org.apache.velocity.util.introspection.Info
Package
Description
-
Uses of Info in org.apache.velocity.app.event
Modifier and TypeMethodDescriptionEventCartridge.invalidGetMethod
(Context context, String reference, Object object, String property, Info info) Call invalid reference handlers for an invalid getterstatic Object
EventHandlerUtil.invalidGetMethod
(RuntimeServices rsvc, InternalContextAdapter context, String reference, Object object, String property, Info info) Called when an invalid get method is encountered.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.EventCartridge.invalidMethod
(Context context, String reference, Object object, String method, Info info) Call invalid reference handlers for an invalid method callstatic Object
EventHandlerUtil.invalidMethod
(RuntimeServices rsvc, InternalContextAdapter context, String reference, Object object, String method, Info info) Called when an invalid method is encountered.InvalidReferenceEventHandler.invalidMethod
(Context context, String reference, Object object, String method, Info info) Called when object is null or the given method does not exist.boolean
EventCartridge.invalidSetMethod
(Context context, String leftreference, String rightreference, Info info) Call invalid reference handlers for an invalid setterstatic void
EventHandlerUtil.invalidSetMethod
(RuntimeServices rsvc, InternalContextAdapter context, String leftreference, String rightreference, Info info) Called when an invalid set method is encountered.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.EventCartridge.methodException
(Context context, Class<?> claz, String method, Exception e, Info info) Call method exception event handlerstatic Object
EventHandlerUtil.methodException
(RuntimeServices rsvc, InternalContextAdapter context, Class<?> claz, String method, Exception e, Info info) Called when a method exception is generated during Velocity merge.MethodExceptionEventHandler.methodException
(Context context, Class<?> claz, String method, Exception e, Info info) Called when a method throws an exception. -
Uses of Info in org.apache.velocity.app.event.implement
Modifier and TypeClassDescriptionclass
Convenience class to use when reporting out invalid syntax with line, column, and template name.Modifier and TypeMethodDescriptionReportInvalidReferences.invalidGetMethod
(Context context, String reference, Object object, String property, Info info) Collect the error and/or throw an exception, depending on configuration.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.PrintExceptions.methodException
(Context context, Class<?> claz, String method, Exception e, Info info) Render the method exception, and optionally the exception message and stack trace. -
Uses of Info in org.apache.velocity.example
Modifier and TypeMethodDescriptionEventExample.invalidGetMethod
(Context context, String reference, Object object, String property, Info info) EventExample.invalidMethod
(Context context, String reference, Object object, String method, Info info) boolean
EventExample.invalidSetMethod
(Context context, String leftreference, String rightreference, Info info) Event handler for when the right hand side of a #set() directive is null, which results in a log message. -
Uses of Info in org.apache.velocity.exception
ModifierConstructorDescriptionParseErrorException
(String exceptionMessage, Info info) Create a ParseErrorRuntimeException with the given message and infoParseErrorException
(String exceptionMessage, Info info, String invalidSyntax) Create a ParseErrorRuntimeException with the given message and infoParseErrorException
(String exceptionMessage, Info info, String[] stacktrace) Create a ParseErrorRuntimeException with the given message and info -
Uses of Info in org.apache.velocity.runtime.directive
-
Uses of Info in org.apache.velocity.runtime.parser
-
Uses of Info in org.apache.velocity.runtime.parser.node
Modifier and TypeFieldDescriptionprotected Info
ASTIdentifier.uberInfo
This is really immutable after the init, so keep one for this nodeprotected Info
ASTMethod.uberInfo
protected Info
ASTReference.uberInfo
protected Info
ASTSetDirective.uberInfo
This is really immutable after the init, so keep one for this node -
Uses of Info in org.apache.velocity.util
Modifier and TypeMethodDescriptionstatic String
StringUtils.formatFileString
(Info info) Simply creates a string that formats the template filename with line number and column. -
Uses of Info in org.apache.velocity.util.introspection
Modifier and TypeMethodDescriptionAbstractChainableUberspector.getIterator
(Object obj, Info i) To support iterative objects used in a#foreach()
loop.LinkingUberspector.getIterator
(Object obj, Info i) To support iterative objects used in a#foreach()
loop.SecureUberspector.getIterator
(Object obj, Info i) Get an iterator from the given object.Uberspect.getIterator
(Object obj, Info info) To support iteratives - #foreach()UberspectImpl.getIterator
(Object obj, Info i) To support iterative objects used in a#foreach()
loop.UberspectPublicFields.getIterator
(Object obj, Info info) MethodMethodReturns a general method, corresponding to $foo.bar( $woogie )MethodAbstractChainableUberspector.getPropertyGet
(Object obj, String identifier, Info i) Property getterDeprecatedCheckUberspector.getPropertyGet
(Object obj, String identifier, Info i) LinkingUberspector.getPropertyGet
(Object obj, String identifier, Info i) Property getterUberspect.getPropertyGet
(Object obj, String identifier, Info info) Property getter - returns VelPropertyGet appropos for #set($foo = $bar.woogie)UberspectImpl.getPropertyGet
(Object obj, String identifier, Info i) Property getterUberspectPublicFields.getPropertyGet
(Object obj, String identifier, Info i) Property getterAbstractChainableUberspector.getPropertySet
(Object obj, String identifier, Object arg, Info i) Property setterDeprecatedCheckUberspector.getPropertySet
(Object obj, String identifier, Object arg, Info i) LinkingUberspector.getPropertySet
(Object obj, String identifier, Object arg, Info i) Property setterUberspect.getPropertySet
(Object obj, String identifier, Object arg, Info info) Property setter - returns VelPropertySet appropos for #set($foo.bar = "geir")UberspectImpl.getPropertySet
(Object obj, String identifier, Object arg, Info i) Property setterUberspectPublicFields.getPropertySet
(Object obj, String identifier, Object arg, Info i) Property setter