Class HttpURLValidator
- java.lang.Object
-
- org.sourceid.saml20.adapter.gui.validation.impl.HttpURLValidator
-
- All Implemented Interfaces:
Serializable,FieldValidator
public class HttpURLValidator extends Object implements FieldValidator
TheURLValidatorclass validates a URL string.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpURLValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate(Field field)Validate if the fieldValue string represents a valid HTTP(s) URL.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.sourceid.saml20.adapter.gui.validation.FieldValidator
isExternalValidator
-
-
-
-
Method Detail
-
validate
public void validate(Field field) throws ValidationException
Validate if the fieldValue string represents a valid HTTP(s) URL.- Specified by:
validatein interfaceFieldValidator- Parameters:
field- the field (name and value) to validate.- Throws:
ValidationException- if the field is invalid.
-
-