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

📄 validatordescription.java

📁 在Struts2中的jar包xwork的源代码.版本为2.0.7
💻 JAVA
字号:
/* * Copyright (c) 2002-2006 by OpenSymphony * All rights reserved. */package com.opensymphony.xwork2.validator.metadata;/** * <code>ValidatorDescription</code> * * @author Rainer Hermanns * @version $Id: ValidatorDescription.java 1187 2006-11-13 08:05:32Z mrdon $ */public interface ValidatorDescription {    /**     * Returns the validator XML definition.     *     * @return the validator XML definition.     */    String asXml();    /**     * Returns the field name to create the validation rule for.     *     * @return The field name to create the validation rule for     */    String getFieldName();    /**     * Sets the I18N message key.     * @param key the I18N message key     */    void setKey(String key);    /**     * Sets the default validator failure message.     *     * @param message the default validator failure message     */    void setMessage(String message);    /**     * Set the shortCircuit flag.     *     * @param shortCircuit the shortCircuit flag.     */    void setShortCircuit(boolean shortCircuit);    boolean isSimpleValidator();}

⌨️ 快捷键说明

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