Uses of Class
org.apache.velocity.util.introspection.Info
-
-
Uses of Info in org.apache.velocity.app.event
Methods in org.apache.velocity.app.event with parameters of type Info Modifier and Type Method Description ObjectEventCartridge. invalidGetMethod(Context context, String reference, Object object, String property, Info info)Call invalid reference handlers for an invalid getterstatic ObjectEventHandlerUtil. invalidGetMethod(RuntimeServices rsvc, InternalContextAdapter context, String reference, Object object, String property, Info info)Called when an invalid get method is encountered.ObjectInvalidReferenceEventHandler. 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.ObjectEventCartridge. invalidMethod(Context context, String reference, Object object, String method, Info info)Call invalid reference handlers for an invalid method callstatic ObjectEventHandlerUtil. invalidMethod(RuntimeServices rsvc, InternalContextAdapter context, String reference, Object object, String method, Info info)Called when an invalid method is encountered.ObjectInvalidReferenceEventHandler. invalidMethod(Context context, String reference, Object object, String method, Info info)Called when object is null or the given method does not exist.booleanEventCartridge. invalidSetMethod(Context context, String leftreference, String rightreference, Info info)Call invalid reference handlers for an invalid setterstatic voidEventHandlerUtil. invalidSetMethod(RuntimeServices rsvc, InternalContextAdapter context, String leftreference, String rightreference, Info info)Called when an invalid set method is encountered.booleanInvalidReferenceEventHandler. invalidSetMethod(Context context, String leftreference, String rightreference, Info info)Called when object is null or there is no setter for the given property.ObjectEventCartridge. methodException(Context context, Class<?> claz, String method, Exception e, Info info)Call method exception event handlerstatic ObjectEventHandlerUtil. methodException(RuntimeServices rsvc, InternalContextAdapter context, Class<?> claz, String method, Exception e, Info info)Called when a method exception is generated during Velocity merge.ObjectMethodExceptionEventHandler. 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
Subclasses of Info in org.apache.velocity.app.event.implement Modifier and Type Class Description classInvalidReferenceInfoConvenience 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 ObjectReportInvalidReferences. invalidGetMethod(Context context, String reference, Object object, String property, Info info)Collect the error and/or throw an exception, depending on configuration.ObjectReportInvalidReferences. invalidMethod(Context context, String reference, Object object, String method, Info info)Collect the error and/or throw an exception, depending on configuration.booleanReportInvalidReferences. invalidSetMethod(Context context, String leftreference, String rightreference, Info info)Collect the error and/or throw an exception, depending on configuration.ObjectPrintExceptions. methodException(Context context, Class<?> claz, String method, Exception e, Info info)Render the method exception, and optionally the exception message and stack trace.Constructors in org.apache.velocity.app.event.implement with parameters of type Info Constructor Description InvalidReferenceInfo(String invalidReference, Info info) -
Uses of Info in org.apache.velocity.example
Methods in org.apache.velocity.example with parameters of type Info Modifier and Type Method Description ObjectEventExample. invalidGetMethod(Context context, String reference, Object object, String property, Info info)ObjectEventExample. invalidMethod(Context context, String reference, Object object, String method, Info info)booleanEventExample. 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.ObjectEventExample. methodException(Context context, Class claz, String method, Exception e, Info info) -
Uses of Info in org.apache.velocity.exception
Constructors in org.apache.velocity.exception with parameters of type Info Constructor Description ParseErrorException(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
Fields in org.apache.velocity.runtime.directive declared as Info Modifier and Type Field Description protected InfoForeach. uberInfoimmutable, so create in init -
Uses of Info in org.apache.velocity.runtime.parser
Methods in org.apache.velocity.runtime.parser with parameters of type Info Modifier and Type Method Description voidLogContext. pushLogContext(SimpleNode src, Info info) -
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 InfoASTIdentifier. uberInfoThis is really immutable after the init, so keep one for this nodeprotected InfoASTMethod. uberInfoprotected InfoASTReference. uberInfoprotected InfoASTSetDirective. uberInfoThis is really immutable after the init, so keep one for this node -
Uses of Info in org.apache.velocity.util
Methods in org.apache.velocity.util with parameters of type Info Modifier and Type Method Description static StringStringUtils. 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
Methods in org.apache.velocity.util.introspection with parameters of type Info Modifier and Type Method Description IteratorAbstractChainableUberspector. getIterator(Object obj, Info i)To support iterative objects used in a#foreach()loop.IteratorLinkingUberspector. getIterator(Object obj, Info i)To support iterative objects used in a#foreach()loop.IteratorSecureUberspector. getIterator(Object obj, Info i)Get an iterator from the given object.IteratorUberspect. getIterator(Object obj, Info info)To support iteratives - #foreach()IteratorUberspectImpl. getIterator(Object obj, Info i)To support iterative objects used in a#foreach()loop.IteratorUberspectPublicFields. getIterator(Object obj, Info info)VelMethodAbstractChainableUberspector. getMethod(Object obj, String methodName, Object[] args, Info i)MethodVelMethodDeprecatedCheckUberspector. getMethod(Object obj, String methodName, Object[] args, Info i)VelMethodLinkingUberspector. getMethod(Object obj, String methodName, Object[] args, Info i)MethodVelMethodUberspect. getMethod(Object obj, String method, Object[] args, Info info)Returns a general method, corresponding to $foo.bar( $woogie )VelMethodUberspectImpl. getMethod(Object obj, String methodName, Object[] args, Info i)MethodVelMethodUberspectPublicFields. getMethod(Object obj, String method, Object[] args, Info info)VelPropertyGetAbstractChainableUberspector. getPropertyGet(Object obj, String identifier, Info i)Property getterVelPropertyGetDeprecatedCheckUberspector. getPropertyGet(Object obj, String identifier, Info i)VelPropertyGetLinkingUberspector. getPropertyGet(Object obj, String identifier, Info i)Property getterVelPropertyGetUberspect. getPropertyGet(Object obj, String identifier, Info info)Property getter - returns VelPropertyGet appropos for #set($foo = $bar.woogie)VelPropertyGetUberspectImpl. getPropertyGet(Object obj, String identifier, Info i)Property getterVelPropertyGetUberspectPublicFields. getPropertyGet(Object obj, String identifier, Info i)Property getterVelPropertySetAbstractChainableUberspector. getPropertySet(Object obj, String identifier, Object arg, Info i)Property setterVelPropertySetDeprecatedCheckUberspector. getPropertySet(Object obj, String identifier, Object arg, Info i)VelPropertySetLinkingUberspector. getPropertySet(Object obj, String identifier, Object arg, Info i)Property setterVelPropertySetUberspect. getPropertySet(Object obj, String identifier, Object arg, Info info)Property setter - returns VelPropertySet appropos for #set($foo.bar = "geir")VelPropertySetUberspectImpl. getPropertySet(Object obj, String identifier, Object arg, Info i)Property setterVelPropertySetUberspectPublicFields. getPropertySet(Object obj, String identifier, Object arg, Info i)Property setter
-