JavaScript is disabled on your browser.
OpenAM Project 11.0.0 Documentation
public class TelephoneValidator
extends Object
Validates telephone number The object of this class is constructed using
default constructor and validate function is used to validate telephone
number passing the telephone number as argument to the function. Upon
validation the validate function returns boolean value.
See Also: Serialized Form
Method Summary
Methods
Modifier and Type
Method and Description
boolean
validate (String telephone)
Determines whether the specified string is a valid "basic" telephone
number string
boolean
validate (String value,
String rule)
Determines if the value is a valid "basic" telephone number string
Method Detail
validate
public boolean validate (String value,
String rule)
Determines if the value is a valid "basic" telephone number string
Parameters: value
- string value to validaterule
- not used by this method
Returns: true if the value represents a valid telephone number string
OpenAM Project 11.0.0 Documentation
Copyright © 2010-2013, ForgeRock All Rights Reserved.