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

📄 validationtestsuitenewform.java

📁 电子地图服务器,搭建自己的地图服务
💻 JAVA
字号:
/*
 * Created on Jan 23, 2004
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package org.vfny.geoserver.form.validation;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import javax.servlet.http.HttpServletRequest;


/**
 * ValidationTestSuiteNewForm purpose.
 * <p>
 * Description of ValidationTestSuiteNewForm ...
 * </p>
 *
 * <p>
 * Capabilities:
 * </p>
 * <ul>
 * <li>
 * Feature: description
 * </li>
 * </ul>
 * <p>
 * Example Use:
 * </p>
 * <pre><code>
 * ValidationTestSuiteNewForm x = new ValidationTestSuiteNewForm(...);
 * </code></pre>
 *
 * @author User, Refractions Research, Inc.
 * @author $Author: jive $ (last modification)
 * @version $Id: ValidationTestSuiteNewForm.java 6177 2007-02-19 10:11:27Z aaime $
 */
public class ValidationTestSuiteNewForm extends ActionForm {
    private String newName;

    public void reset(ActionMapping arg0, HttpServletRequest request) {
        super.reset(arg0, request);

        newName = "";
    }

    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
        ActionErrors errors = new ActionErrors();

        return errors;
    }

    /**
     * Access newName property.
     *
     * @return Returns the newName.
     */
    public String getNewName() {
        return newName;
    }

    /**
     * Set newName to newName.
     *
     * @param newName The newName to set.
     */
    public void setNewName(String newName) {
        this.newName = newName;
    }
}

⌨️ 快捷键说明

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