Package org.apache.commons.ognl
Class ObjectNullHandler
java.lang.Object
org.apache.commons.ognl.ObjectNullHandler
- All Implemented Interfaces:
NullHandler
Implementation of NullHandler that returns null in all cases, so that NullPointerException will be thrown by the
caller.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ObjectNullHandler
public ObjectNullHandler()
-
-
Method Details
-
nullMethodResult
public Object nullMethodResult(Map<String, Object> context, Object target, String methodName, Object[] args) Description copied from interface:NullHandler
Method called on target returned null.- Specified by:
nullMethodResult
in interfaceNullHandler
-
nullPropertyValue
Description copied from interface:NullHandler
Property in target evaluated to null. Property can be a constant String property name or a DynamicSubscript.- Specified by:
nullPropertyValue
in interfaceNullHandler
-