com.opensymphony.xwork2
Interface ModelDriven<T>

All Known Subinterfaces:
ScopedModelDriven<T>

public interface ModelDriven<T>

ModelDriven Actions provide a model object to be pushed onto the ValueStack in addition to the Action itself, allowing a FormBean type approach like Struts.

Author:
Jason Carreira

Method Summary
 T getModel()
          Gets the model to be pushed onto the ValueStack instead of the Action itself.
 

Method Detail

getModel

T getModel()
Gets the model to be pushed onto the ValueStack instead of the Action itself.

Returns:
the model


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.