com.opensymphony.xwork2.util

## Class NamedVariablePatternMatcher.CompiledPattern

- java.lang.Object
- - com.opensymphony.xwork2.util.NamedVariablePatternMatcher.CompiledPattern

- Enclosing class:
    NamedVariablePatternMatcher

      public static class NamedVariablePatternMatcher.CompiledPattern
      extends Object

  Stores the compiled pattern and the variable names matches will correspond to.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CompiledPattern(Pattern pattern, List<String> variableNames)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Pattern` | `getPattern()`
    `List<String>` | `getVariableNames()`

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

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

- - ### Constructor Detail

    - #### CompiledPattern

          public CompiledPattern(Pattern pattern,
                                 List<String> variableNames)

  - ### Method Detail

    - #### getPattern

          public Pattern getPattern()

    - #### getVariableNames

          public List<String> getVariableNames()

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