All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.opensymphony.xwork2.config.impl.NamespaceMatch Maven / Gradle / Ivy

Go to download

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy