Uses of Class
org.apache.velocity.util.introspection.Info
-
-
Uses of Info in org.apache.velocity.app.event
Fields in org.apache.velocity.app.event declared as Info Modifier and Type Field Description private Info
InvalidReferenceEventHandler.InvalidGetMethodExecutor. info
private Info
InvalidReferenceEventHandler.InvalidMethodExecutor. info
private Info
InvalidReferenceEventHandler.InvalidSetMethodExecutor. info
Methods in org.apache.velocity.app.event with parameters of type Info Modifier and Type Method Description static java.lang.Object
EventHandlerUtil. invalidGetMethod(RuntimeServices rsvc, InternalContextAdapter context, java.lang.String reference, java.lang.Object object, java.lang.String property, Info info)
Called when an invalid get method is encountered.java.lang.Object
InvalidReferenceEventHandler. invalidGetMethod(Context context, java.lang.String reference, java.lang.Object object, java.lang.String property, Info info)
Called when object is null or there is no getter for the given property.static java.lang.Object
EventHandlerUtil. invalidMethod(RuntimeServices rsvc, InternalContextAdapter context, java.lang.String reference, java.lang.Object object, java.lang.String method, Info info)
Called when an invalid method is encountered.java.lang.Object
InvalidReferenceEventHandler. invalidMethod(Context context, java.lang.String reference, java.lang.Object object, java.lang.String method, Info info)
Called when object is null or the given method does not exist.static void
EventHandlerUtil. invalidSetMethod(RuntimeServices rsvc, InternalContextAdapter context, java.lang.String leftreference, java.lang.String rightreference, Info info)
Called when an invalid set method is encountered.boolean
InvalidReferenceEventHandler. invalidSetMethod(Context context, java.lang.String leftreference, java.lang.String rightreference, Info info)
Called when object is null or there is no setter for the given property.Constructors in org.apache.velocity.app.event with parameters of type Info Constructor Description InvalidGetMethodExecutor(Context context, java.lang.String reference, java.lang.Object object, java.lang.String property, Info info)
InvalidMethodExecutor(Context context, java.lang.String reference, java.lang.Object object, java.lang.String method, Info info)
InvalidSetMethodExecutor(Context context, java.lang.String leftreference, java.lang.String rightreference, Info info)
-
Uses of Info in org.apache.velocity.app.event.implement
Subclasses of Info in org.apache.velocity.app.event.implement Modifier and Type Class Description 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 Modifier and Type Method Description java.lang.Object
ReportInvalidReferences. invalidGetMethod(Context context, java.lang.String reference, java.lang.Object object, java.lang.String property, Info info)
Collect the error and/or throw an exception, depending on configuration.java.lang.Object
ReportInvalidReferences. invalidMethod(Context context, java.lang.String reference, java.lang.Object object, java.lang.String method, Info info)
Collect the error and/or throw an exception, depending on configuration.boolean
ReportInvalidReferences. invalidSetMethod(Context context, java.lang.String leftreference, java.lang.String rightreference, Info info)
Collect the error and/or throw an exception, depending on configuration.private void
ReportInvalidReferences. reportInvalidReference(java.lang.String reference, Info info)
Check for an invalid reference and collect the error or throw an exception (depending on configuration).Constructors in org.apache.velocity.app.event.implement with parameters of type Info Constructor Description InvalidReferenceInfo(java.lang.String invalidReference, Info info)
-
Uses of Info in org.apache.velocity.exception
Constructors in org.apache.velocity.exception with parameters of type Info Constructor Description ParseErrorException(java.lang.String exceptionMessage, Info info)
Create a ParseErrorRuntimeException with the given message and infoParseErrorException(java.lang.String exceptionMessage, Info info, java.lang.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 Modifier and Type Field Description 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 Modifier and Type Method Description static java.lang.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 Modifier and Type Field Description protected 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.introspection
Methods in org.apache.velocity.util.introspection with parameters of type Info Modifier and Type Method Description java.util.Iterator
AbstractChainableUberspector. getIterator(java.lang.Object obj, Info i)
To support iterative objects used in a#foreach()
loop.java.util.Iterator
LinkingUberspector. getIterator(java.lang.Object obj, Info i)
To support iterative objects used in a#foreach()
loop.java.util.Iterator
SecureUberspector. getIterator(java.lang.Object obj, Info i)
Get an iterator from the given object.java.util.Iterator
Uberspect. getIterator(java.lang.Object obj, Info info)
To support iteratives - #foreach()java.util.Iterator
UberspectImpl. getIterator(java.lang.Object obj, Info i)
To support iterative objects used in a#foreach()
loop.VelMethod
AbstractChainableUberspector. getMethod(java.lang.Object obj, java.lang.String methodName, java.lang.Object[] args, Info i)
MethodVelMethod
LinkingUberspector. getMethod(java.lang.Object obj, java.lang.String methodName, java.lang.Object[] args, Info i)
MethodVelMethod
Uberspect. getMethod(java.lang.Object obj, java.lang.String method, java.lang.Object[] args, Info info)
Returns a general method, corresponding to $foo.bar( $woogie )VelMethod
UberspectImpl. getMethod(java.lang.Object obj, java.lang.String methodName, java.lang.Object[] args, Info i)
MethodVelPropertyGet
AbstractChainableUberspector. getPropertyGet(java.lang.Object obj, java.lang.String identifier, Info i)
Property getterVelPropertyGet
LinkingUberspector. getPropertyGet(java.lang.Object obj, java.lang.String identifier, Info i)
Property getterVelPropertyGet
Uberspect. getPropertyGet(java.lang.Object obj, java.lang.String identifier, Info info)
Property getter - returns VelPropertyGet appropos for #set($foo = $bar.woogie)VelPropertyGet
UberspectImpl. getPropertyGet(java.lang.Object obj, java.lang.String identifier, Info i)
Property getterVelPropertySet
AbstractChainableUberspector. getPropertySet(java.lang.Object obj, java.lang.String identifier, java.lang.Object arg, Info i)
Property setterVelPropertySet
LinkingUberspector. getPropertySet(java.lang.Object obj, java.lang.String identifier, java.lang.Object arg, Info i)
Property setterVelPropertySet
Uberspect. getPropertySet(java.lang.Object obj, java.lang.String identifier, java.lang.Object arg, Info info)
Property setter - returns VelPropertySet appropos for #set($foo.bar = "geir")VelPropertySet
UberspectImpl. getPropertySet(java.lang.Object obj, java.lang.String identifier, java.lang.Object arg, Info i)
Property setter
-