com.opensymphony.xwork2.config.impl

## Class NamespaceMatch

- java.lang.Object
- - com.opensymphony.xwork2.config.impl.NamespaceMatch

-     public class NamespaceMatch
      extends Object

  Represents a match from a namespace pattern matching.
  Since:
    2.1

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NamespaceMatch(String pattern, Map<String,String> variables)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getPattern()`
    `Map<String,String>` | `getVariables()`

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

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

- - ### Constructor Detail

    - #### NamespaceMatch

          public NamespaceMatch(String pattern,
                        Map<String,String> variables)

  - ### Method Detail

    - #### getPattern

          public String getPattern()

      Returns:
        The pattern that was matched

    - #### getVariables

          public Map<String,String> getVariables()

      Returns:
        The variables containing the matched values

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