validationerrors.java

来自「pojo的mvc框架」· Java 代码 · 共 38 行

JAVA
38
字号
package xyz.frame.validator;import java.util.Iterator;import xyz.frame.i18n.Message;/** * Collection of validation errors. List is not used as there should be limited * access to some methods. *  * @author Guilherme Silveira */public interface ValidationErrors {	/**	 * Adds a new validation error	 * 	 * @param error	 *            the validation error	 */	void add(Message error);	/**	 * Returns the number of validation errors registered	 * 	 * @return the number of validation errors	 */	int size();	/**	 * Retrieves an iterator	 * 	 * @return the iterator	 */	Iterator<Message> getIterator();}

⌨️ 快捷键说明

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