play.data.validation
Class IPv4AddressCheck

java.lang.Object
  extended by net.sf.oval.AbstractCheck
      extended by net.sf.oval.configuration.annotation.AbstractAnnotationCheck<IPv4Address>
          extended by play.data.validation.IPv4AddressCheck
All Implemented Interfaces:
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>

See Also:
Serialized Form

Constructor Summary
IPv4AddressCheck()
           
 
Method Summary
 void configure(IPv4Address phone)
           
 boolean isSatisfied(java.lang.Object validatedObject, java.lang.Object value, net.sf.oval.context.OValContext context, net.sf.oval.Validator validator)
           
 
Methods inherited from class net.sf.oval.AbstractCheck
createMessageVariables, getAppliesTo, getAppliesToDefault, getContext, getErrorCode, getMessage, getMessageVariables, getProfiles, getSeverity, getWhen, isActive, requireMessageVariablesRecreation, setAppliesTo, setContext, setErrorCode, setMessage, setProfiles, setSeverity, setWhen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.oval.Check
getAppliesTo, getContext, getErrorCode, getMessage, getMessageVariables, getProfiles, getSeverity, getWhen, isActive, setAppliesTo, setContext, setErrorCode, setMessage, setProfiles, setSeverity, setWhen
 

Constructor Detail

IPv4AddressCheck

public IPv4AddressCheck()
Method Detail

configure

public void configure(IPv4Address phone)
Specified by:
configure in interface net.sf.oval.configuration.annotation.AnnotationCheck<IPv4Address>
Overrides:
configure in class net.sf.oval.configuration.annotation.AbstractAnnotationCheck<IPv4Address>

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
Throws:
net.sf.oval.exception.OValException


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