org.directwebremoting.webwork
Class DefaultAjaxDataResult

java.lang.Object
  extended by org.directwebremoting.webwork.DefaultAjaxDataResult
All Implemented Interfaces:
AjaxDataResult, AjaxResult

public class DefaultAjaxDataResult
extends java.lang.Object
implements AjaxDataResult

Default implementation of AjaxDataResult

Author:
Alexandru Popescu

Constructor Summary
DefaultAjaxDataResult(java.lang.Object data)
          Sole constructor.
 
Method Summary
 java.lang.Object getData()
          Access the wrapped result.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAjaxDataResult

public DefaultAjaxDataResult(java.lang.Object data)
Sole constructor.

Parameters:
data - the wrapped result object
Method Detail

getData

public java.lang.Object getData()
Description copied from interface: AjaxDataResult
Access the wrapped result. Usually this is an action instance.

Specified by:
getData in interface AjaxDataResult
Returns:
wrapped result
See Also:
AjaxDataResult.getData()

Copyright 2008