org.sourceid.saml20.adapter.gui.validation.impl
Class HttpURLValidator

java.lang.Object
  extended by org.sourceid.saml20.adapter.gui.validation.impl.HttpURLValidator
All Implemented Interfaces:
FieldValidator

public class HttpURLValidator
extends java.lang.Object
implements FieldValidator

The URLValidator class validates a URL string.

Author:
Guoping Liu

Constructor Summary
HttpURLValidator()
           
 
Method Summary
 void validate(Field field)
          Validate if the fieldValue string represents a valid HTTP(s) URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpURLValidator

public HttpURLValidator()
Method Detail

validate

public void validate(Field field)
              throws ValidationException
Validate if the fieldValue string represents a valid HTTP(s) URL.

Specified by:
validate in interface FieldValidator
Parameters:
field - the field (name and value) to validate.
Throws:
ValidationException - if the field is invalid.


Copyright 2007 Ping Identity Corp. All rights reserved.