Package com.sun.identity.sm.validators
Class DomainValidator
java.lang.Object
com.sun.identity.sm.validators.DomainValidator
- All Implemented Interfaces:
com.sun.identity.sm.validators.Validator
@SupportedAll
public class DomainValidator
extends Object
implements com.sun.identity.sm.validators.Validator
Validates domain
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DomainValidator
public DomainValidator()
-
-
Method Details
-
validate
Determines if the value is a valid domain string- Parameters:
value
- string value to validaterule
- not used by this method- Returns:
- true if the value represents a valid domain string
-
validate
Determines if the domain is valid- Parameters:
domain
- domain string to test- Returns:
- true if the domain string is valid.
-