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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `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–2024 Apache Software Foundation. All rights reserved.