com.opensymphony.xwork2.util

## Interface ValueStackFactory

- All Known Implementing Classes:
    OgnlValueStackFactory

      public interface ValueStackFactory

  Factory that creates a value stack, defaulting to the OgnlValueStackFactory

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `ValueStack` | `createValueStack()` Get a new instance of `ValueStack`
    `ValueStack` | `createValueStack(ValueStack stack)` Get a new instance of `ValueStack`

- - ### Method Detail

    - #### createValueStack

          ValueStack createValueStack()

      Get a new instance of `ValueStack`
      Returns:
        a new `ValueStack`.

    - #### createValueStack

          ValueStack createValueStack(ValueStack stack)

      Get a new instance of `ValueStack`
      Parameters:
        `stack` - an existing stack to include.
      Returns:
        a new `ValueStack`.

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