shortcircuitablevalidator.java
来自「在Struts2中的jar包xwork的源代码.版本为2.0.7」· Java 代码 · 共 34 行
JAVA
34 行
/* * Copyright (c) 2002-2006 by OpenSymphony * All rights reserved. */package com.opensymphony.xwork2.validator;/** * This interface should be implemented by validators that can short-circuit the validator queue * that it is in. * * @author Mark Woon */public interface ShortCircuitableValidator { /** * Sets whether this field validator should short circuit the validator queue * it's in if validation fails. * * @param shortcircuit true if this field validator should short circuit on * failure, false otherwise */ public void setShortCircuit(boolean shortcircuit); /** * Gets whether this field validator should short circuit the validator queue * it's in if validation fails. * * @return true if this field validator should short circuit on failure, * false otherwise */ public boolean isShortCircuit();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?