com.opensymphony.xwork2.config.impl.NamespaceMatch Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xwork Show documentation
Show all versions of xwork Show documentation
XWork is an command-pattern framework that is used to power WebWork
as well as other applications. XWork provides an Inversion of Control
container, a powerful expression language, data type conversion,
validation, and pluggable configuration.
The newest version!
/*
* Copyright (c) 2002-2006 by OpenSymphony
* All rights reserved.
*/
package com.opensymphony.xwork2.config.impl;
import java.util.Map;
/**
* Represents a match from a namespace pattern matching.
*
* @Since 2.1
*/
public class NamespaceMatch {
private String pattern;
private Map variables;
public NamespaceMatch(String pattern, Map variables) {
this.pattern = pattern;
this.variables = variables;
}
/**
* @return The pattern that was matched
*/
public String getPattern() {
return pattern;
}
/**
* @return The variables containing the matched values
*/
public Map getVariables() {
return variables;
}
}