annotationusermarker.java
来自「在Struts2中的jar包xwork的源代码.版本为2.0.7」· Java 代码 · 共 28 行
JAVA
28 行
/* * Copyright (c) 2002-2006 by OpenSymphony * All rights reserved. */package com.opensymphony.xwork2.test;import com.opensymphony.xwork2.validator.annotations.*;/** * Marker interface to help test hierarchy traversal. * * @author Mark Woon * @author Rainer Hermanns */@Validation( validations = @Validations( requiredFields = { @RequiredFieldValidator(fieldName = "email", shortCircuit = true, message = "You must enter a value for email."), @RequiredFieldValidator(fieldName = "email2", shortCircuit = true, message = "You must enter a value for email2.") }, expressions = { @ExpressionValidator(shortCircuit = true, expression = "email.equals(email2)", message = "Email not the same as email2" ) } ))public interface AnnotationUserMarker {}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?