| Modifier and Type | Method and Description | 
|---|---|
| Object | EventCartridge. invalidGetMethod(Context context,
                String reference,
                Object object,
                String property,
                Info info)Call invalid reference handlers for an invalid getter | 
| 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. | 
| static Object | EventHandlerUtil. invalidGetMethod(RuntimeServices rsvc,
                InternalContextAdapter context,
                String reference,
                Object object,
                String property,
                Info info)Called when an invalid get method is encountered. | 
| Object | EventCartridge. invalidMethod(Context context,
             String reference,
             Object object,
             String method,
             Info info)Call invalid reference handlers for an invalid method call | 
| 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. invalidMethod(RuntimeServices rsvc,
             InternalContextAdapter context,
             String reference,
             Object object,
             String method,
             Info info)Called when an invalid method is encountered. | 
| boolean | EventCartridge. invalidSetMethod(Context context,
                String leftreference,
                String rightreference,
                Info info)Call invalid reference handlers for an invalid setter | 
| 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. | 
| static void | EventHandlerUtil. invalidSetMethod(RuntimeServices rsvc,
                InternalContextAdapter context,
                String leftreference,
                String rightreference,
                Info info)Called when an invalid set method is encountered. | 
| Object | MethodExceptionEventHandler. methodException(Context context,
               Class claz,
               String method,
               Exception e,
               Info info)Called when a method throws an exception. | 
| Object | EventCartridge. methodException(Context context,
               Class claz,
               String method,
               Exception e,
               Info info)Call method exception event handler | 
| static 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. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | InvalidReferenceInfoConvenience class to use when reporting out invalid syntax
 with line, column, and template name. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| Object | PrintExceptions. methodException(Context context,
               Class claz,
               String method,
               Exception e,
               Info info)Render the method exception, and optionally the exception message and stack trace. | 
| Constructor and Description | 
|---|
| InvalidReferenceInfo(String invalidReference,
                    Info info) | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | EventExample. invalidGetMethod(Context context,
                String reference,
                Object object,
                String property,
                Info info) | 
| Object | 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. | 
| Object | EventExample. methodException(Context context,
               Class claz,
               String method,
               Exception e,
               Info info) | 
| Constructor and Description | 
|---|
| 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 | 
| ParseErrorException(String exceptionMessage,
                   Info info,
                   String[] stacktrace)Create a ParseErrorRuntimeException with the given message and info | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Info | Foreach. uberInfoimmutable, so create in init | 
| Modifier and Type | Method and Description | 
|---|---|
| void | LogContext. pushLogContext(SimpleNode src,
              Info info) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Info | ASTIdentifier. uberInfoThis is really immutable after the init, so keep one for this node | 
| protected Info | ASTSetDirective. uberInfoThis is really immutable after the init, so keep one for this node | 
| protected Info | ASTReference. uberInfo | 
| protected Info | ASTMethod. uberInfo | 
| Modifier and Type | Method and Description | 
|---|---|
| static String | StringUtils. formatFileString(Info info)Simply creates a string that formats the template filename with line number
 and column. | 
| Modifier and Type | Method and Description | 
|---|---|
| Iterator | AbstractChainableUberspector. getIterator(Object obj,
           Info i)To support iterative objects used in a  #foreach()loop. | 
| Iterator | SecureUberspector. getIterator(Object obj,
           Info i)Get an iterator from the given object. | 
| Iterator | Uberspect. getIterator(Object obj,
           Info info)To support iteratives - #foreach() | 
| Iterator | UberspectImpl. getIterator(Object obj,
           Info i)To support iterative objects used in a  #foreach()loop. | 
| Iterator | LinkingUberspector. getIterator(Object obj,
           Info i)To support iterative objects used in a  #foreach()loop. | 
| Iterator | UberspectPublicFields. getIterator(Object obj,
           Info info) | 
| VelMethod | AbstractChainableUberspector. getMethod(Object obj,
         String methodName,
         Object[] args,
         Info i)Method | 
| VelMethod | Uberspect. getMethod(Object obj,
         String method,
         Object[] args,
         Info info)Returns a general method, corresponding to $foo.bar( $woogie ) | 
| VelMethod | UberspectImpl. getMethod(Object obj,
         String methodName,
         Object[] args,
         Info i)Method | 
| VelMethod | DeprecatedCheckUberspector. getMethod(Object obj,
         String methodName,
         Object[] args,
         Info i) | 
| VelMethod | LinkingUberspector. getMethod(Object obj,
         String methodName,
         Object[] args,
         Info i)Method | 
| VelMethod | UberspectPublicFields. getMethod(Object obj,
         String method,
         Object[] args,
         Info info) | 
| VelPropertyGet | AbstractChainableUberspector. getPropertyGet(Object obj,
              String identifier,
              Info i)Property  getter | 
| VelPropertyGet | Uberspect. getPropertyGet(Object obj,
              String identifier,
              Info info)Property getter - returns VelPropertyGet appropos for #set($foo = $bar.woogie) | 
| VelPropertyGet | UberspectImpl. getPropertyGet(Object obj,
              String identifier,
              Info i)Property  getter | 
| VelPropertyGet | DeprecatedCheckUberspector. getPropertyGet(Object obj,
              String identifier,
              Info i) | 
| VelPropertyGet | LinkingUberspector. getPropertyGet(Object obj,
              String identifier,
              Info i)Property  getter | 
| VelPropertyGet | UberspectPublicFields. getPropertyGet(Object obj,
              String identifier,
              Info i)Property getter | 
| VelPropertySet | AbstractChainableUberspector. getPropertySet(Object obj,
              String identifier,
              Object arg,
              Info i)Property setter | 
| VelPropertySet | Uberspect. getPropertySet(Object obj,
              String identifier,
              Object arg,
              Info info)Property setter - returns VelPropertySet appropos for #set($foo.bar = "geir") | 
| VelPropertySet | UberspectImpl. getPropertySet(Object obj,
              String identifier,
              Object arg,
              Info i)Property setter | 
| VelPropertySet | DeprecatedCheckUberspector. getPropertySet(Object obj,
              String identifier,
              Object arg,
              Info i) | 
| VelPropertySet | LinkingUberspector. getPropertySet(Object obj,
              String identifier,
              Object arg,
              Info i)Property setter | 
| VelPropertySet | UberspectPublicFields. getPropertySet(Object obj,
              String identifier,
              Object arg,
              Info i)Property setter | 
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.