📄 validatordescription.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 + -