public interface NullHandler
Interface for handling null results from Chains. Object has the opportunity to substitute an object for the null and continue.
Modifier and Type | Method and Description |
---|---|
Object |
nullMethodResult(Map<String,Object> context,
Object target,
String methodName,
Object[] args)
Method called on target returned null.
|
Object |
nullPropertyValue(Map<String,Object> context,
Object target,
Object property)
Property in target evaluated to null.
|
Object nullMethodResult(Map<String,Object> context, Object target, String methodName, Object[] args)
context
- contexttarget
- target objectmethodName
- method nameargs
- argumentsObject nullPropertyValue(Map<String,Object> context, Object target, Object property)
context
- contexttarget
- target objectproperty
- propertyCopyright © 2000–2020 Apache Software Foundation. All rights reserved.