org.apache.struts2.tiles

## Class StrutsPreparerFactory

- java.lang.Object
- - org.apache.tiles.core.prepare.factory.BasicPreparerFactory
  - - org.apache.struts2.tiles.StrutsPreparerFactory

- All Implemented Interfaces:
    PreparerFactory

      public class StrutsPreparerFactory
      extends BasicPreparerFactory

  This is a basic ViewPreparer factory that uses `ObjectFactory` to create the ViewPreparer

- - ### Field Summary

    - ### Fields inherited from class org.apache.tiles.core.prepare.factory.BasicPreparerFactory

      `preparers`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `StrutsPreparerFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected ViewPreparer` | `createPreparer(String name)` Creates a view preparer for the given name.

    - ### Methods inherited from class org.apache.tiles.core.prepare.factory.BasicPreparerFactory

      `getPreparer`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### StrutsPreparerFactory

          public StrutsPreparerFactory()

  - ### Method Detail

    - #### createPreparer

          protected ViewPreparer createPreparer(String name)

      Description copied from class: `BasicPreparerFactory`
      Creates a view preparer for the given name.
      Overrides:
        `createPreparer` in class `BasicPreparerFactory`
      Parameters:
        `name` - The name of the preparer.
      Returns:
        The created preparer.

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.