Class FloatValidator

  • All Implemented Interfaces:
    com.sun.identity.sm.validators.Validator

    @SupportedAll
    public class FloatValidator
    extends Object
    implements com.sun.identity.sm.validators.Validator
    • Constructor Detail

      • FloatValidator

        public FloatValidator()
    • Method Detail

      • validate

        public boolean validate​(String value,
                                String rule)
        Determines whether the specified string is a valid Float
        Parameters:
        value - string value to validate
        rule - not used by this method
        Returns:
        true if value is an Float
      • validate

        public boolean validate​(String value)
        Determines whether the specified string is a valid Float
        Parameters:
        value - string to test
        Returns:
        true if value is an Float