Package play.data.validation
Class IPv4AddressCheck
- java.lang.Object
-
- net.sf.oval.AbstractCheck
-
- net.sf.oval.configuration.annotation.AbstractAnnotationCheck<IPv4Address>
-
- 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
Constructors Constructor Description IPv4AddressCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
Methods inherited from class net.sf.oval.AbstractCheck
createMessageVariables, getAppliesTo, getAppliesToDefault, getContext, getErrorCode, getMessage, getMessageVariables, getProfiles, getSeverity, getTarget, getWhen, isActive, requireMessageVariablesRecreation, setAppliesTo, setContext, setErrorCode, setMessage, setProfiles, setSeverity, setTarget, setWhen
-
-
-
-
Method Detail
-
configure
public void configure(IPv4Address ipv4Address)
- Specified by:
configure
in interfacenet.sf.oval.configuration.annotation.AnnotationCheck<IPv4Address>
- Overrides:
configure
in classnet.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
-
-