ariba.util.expr
Class ObjectNullHandler

java.lang.Object
  extended by ariba.util.expr.ObjectNullHandler
All Implemented Interfaces:
NullHandler

public class ObjectNullHandler
extends java.lang.Object
implements NullHandler

Implementation of NullHandler that returns null in all cases, so that NullPointerException will be thrown by the caller.

Author:
Luke Blanshard (blanshlu@netscape.net), Drew Davidson (drew@ognl.org)

Constructor Summary
ObjectNullHandler()
           
 
Method Summary
 java.lang.Object nullMethodResult(java.util.Map context, java.lang.Object target, java.lang.String methodName, java.lang.Object[] args)
          Method called on target returned null.
 java.lang.Object nullPropertyValue(java.util.Map context, java.lang.Object target, java.lang.Object property)
          Property in target evaluated to null.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectNullHandler

public ObjectNullHandler()
Method Detail

nullMethodResult

public java.lang.Object nullMethodResult(java.util.Map context,
                                         java.lang.Object target,
                                         java.lang.String methodName,
                                         java.lang.Object[] args)
Description copied from interface: NullHandler
Method called on target returned null.

Specified by:
nullMethodResult in interface NullHandler

nullPropertyValue

public java.lang.Object nullPropertyValue(java.util.Map context,
                                          java.lang.Object target,
                                          java.lang.Object property)
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 interface NullHandler


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.