validatordescription.java
来自「在Struts2中的jar包xwork的源代码.版本为2.0.7」· Java 代码 · 共 52 行
JAVA
52 行
/* * 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 + =
减小字号Ctrl + -
显示快捷键?