Package ognl

Interface NullHandler

All Known Implementing Classes:
ObjectNullHandler

public interface NullHandler
Interface for handling null results from Chains. Object has the opportunity to substitute an object for the null and continue.
Author:
Luke Blanshard (blanshlu@netscape.net), Drew Davidson (drew@ognl.org)
  • Method Details

    • nullMethodResult

      Object nullMethodResult(Map context, Object target, String methodName, Object[] args)
      Method called on target returned null.
    • nullPropertyValue

      Object nullPropertyValue(Map context, Object target, Object property)
      Property in target evaluated to null. Property can be a constant String property name or a DynamicSubscript.