play.data.validation
类 IPv4AddressCheck

java.lang.Object
  继承者 net.sf.oval.AbstractCheck
      继承者 net.sf.oval.configuration.annotation.AbstractAnnotationCheck<IPv4Address>
          继承者 play.data.validation.IPv4AddressCheck
所有已实现的接口:
java.io.Serializable, net.sf.oval.Check, net.sf.oval.configuration.annotation.AnnotationCheck<IPv4Address>

public class IPv4AddressCheck
extends net.sf.oval.configuration.annotation.AbstractAnnotationCheck<IPv4Address>

另请参见:
序列化表格

构造方法摘要
IPv4AddressCheck()
           
 
方法摘要
 void configure(IPv4Address ipv4Address)
           
 boolean isSatisfied(java.lang.Object validatedObject, java.lang.Object value, net.sf.oval.context.OValContext context, net.sf.oval.Validator validator)
           
 
从类 net.sf.oval.AbstractCheck 继承的方法
createMessageVariables, getAppliesTo, getAppliesToDefault, getContext, getErrorCode, getMessage, getMessageVariables, getProfiles, getSeverity, getWhen, isActive, requireMessageVariablesRecreation, setAppliesTo, setContext, setErrorCode, setMessage, setProfiles, setSeverity, setWhen
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
从接口 net.sf.oval.Check 继承的方法
getAppliesTo, getContext, getErrorCode, getMessage, getMessageVariables, getProfiles, getSeverity, getWhen, isActive, setAppliesTo, setContext, setErrorCode, setMessage, setProfiles, setSeverity, setWhen
 

构造方法详细信息

IPv4AddressCheck

public IPv4AddressCheck()
方法详细信息

configure

public void configure(IPv4Address ipv4Address)
指定者:
接口 net.sf.oval.configuration.annotation.AnnotationCheck<IPv4Address> 中的 configure
覆盖:
net.sf.oval.configuration.annotation.AbstractAnnotationCheck<IPv4Address> 中的 configure

isSatisfied

public boolean isSatisfied(java.lang.Object validatedObject,
                           java.lang.Object value,
                           net.sf.oval.context.OValContext context,
                           net.sf.oval.Validator validator)
                    throws net.sf.oval.exception.OValException
抛出:
net.sf.oval.exception.OValException


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly