fieldvalidator.java

来自「在Struts2中的jar包xwork的源代码.版本为2.0.7」· Java 代码 · 共 30 行

JAVA
30
字号
/* * Copyright (c) 2002-2006 by OpenSymphony * All rights reserved. */package com.opensymphony.xwork2.validator;/** * The FieldValidator interface defines the methods to be implemented by FieldValidators, * which are used by the XWork validation framework to validate Action properties before * executing the Action. * * @author $author$ * @version $Revision: 1063 $ */public interface FieldValidator extends Validator {    /**     * Sets the field name to validate with this FieldValidator     *     * @param fieldName     */    void setFieldName(String fieldName);    /**     * @return the field name to be validated     */    String getFieldName();}

⌨️ 快捷键说明

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