Package com.nomagic.magicreport.engine
Interface IInvalidReferenceHandler
@OpenApiAll
public interface IInvalidReferenceHandler
This interface is used for handling reference tags, that does not include in the API of the object , which is
put into the context of velocity.
-
Method Summary
Modifier and TypeMethodDescriptioninvalidMethod(String reference, Object object, String method, Properties properties) Handle reference method and return the proper value.invalidProperty(String reference, Object object, String property, Properties properties) Invoke when getter method ofobjectis not defined.invalidReference(String reference, Object object, String property, Properties properties) Handle reference tag and return the proper value.methodException(Class<?> clazz, String method, Exception e, Properties properties) Handler a method call exception.
-
Method Details
-
methodException
Handler a method call exception.- Parameters:
clazz- the class of the object the method is being applied tomethod- the methode- the thrown exceptionproperties- the engine properties- Returns:
- return value
-
invalidProperty
Invoke when getter method ofobjectis not defined.- Parameters:
reference- string with complete referenceobject- the object referred to, or null if not foundproperty- the property name from the referenceproperties- the engine properties- Returns:
- return value
-
invalidReference
Handle reference tag and return the proper value.- Parameters:
reference- string with complete referenceobject- the object referred to, or null if not foundproperty- the property name from the referenceproperties- the engine properties- Returns:
- return value
-
invalidMethod
Handle reference method and return the proper value.- Parameters:
reference- string with complete referenceobject- the object referred to, or null if not foundmethod- the property name from the referenceproperties- the engine properties- Returns:
- return value
-