Package org.apache.struts2.config.impl

# Class NamespaceMatch

java.lang.Object
org.apache.struts2.config.impl.NamespaceMatch

public class NamespaceMatch extends Object
Represents a match from a namespace pattern matching.

Since:
  2.1

- ## Constructor Summary

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

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### NamespaceMatch

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

- ## Method Details

  - ### getPattern

    public String getPattern()
    Returns:
      The pattern that was matched

  - ### getVariables

    public Map<String,String> getVariables()
    Returns:
      The variables containing the matched values