⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 actionmapping.java

📁 struts 2 核心包 的源码 有错误是难免的
💻 JAVA
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   ActionMapping.java

package org.apache.struts2.dispatcher.mapper;

import com.opensymphony.xwork2.Result;
import java.util.Map;

public class ActionMapping
{

	private String name;
	private String namespace;
	private String method;
	private Map params;
	private Result result;

	public ActionMapping()
	{
	}

	public ActionMapping(Result result)
	{
		this.result = result;
	}

	public ActionMapping(String name, String namespace, String method, Map params)
	{
		this.name = name;
		this.namespace = namespace;
		this.method = method;
		this.params = params;
	}

	public String getName()
	{
		return name;
	}

	public String getNamespace()
	{
		return namespace;
	}

	public Map getParams()
	{
		return params;
	}

	public String getMethod()
	{
		if (null != method && "".equals(method))
			return null;
		else
			return method;
	}

	public Result getResult()
	{
		return result;
	}

	public void setResult(Result result)
	{
		this.result = result;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public void setNamespace(String namespace)
	{
		this.namespace = namespace;
	}

	public void setMethod(String method)
	{
		this.method = method;
	}

	public void setParams(Map params)
	{
		this.params = params;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -