Class StringConverter.StringToToken

    • Constructor Detail

      • StringToToken

        public StringToToken()
    • Method Detail

      • validate

        public ValidationFailure validate​(UnicodeString input)
        Description copied from class: StringConverter
        Validate a string for conformance to the target type, without actually performing the conversion
        Overrides:
        validate in class StringConverter
        Parameters:
        input - the string to be validated
        Returns:
        null if validation is successful, or a ValidationFailure indicating the reasons for failure if unsuccessful
      • isAlwaysSuccessful

        public boolean isAlwaysSuccessful()
        Description copied from class: Converter
        Ask if this converter will always succeed
        Overrides:
        isAlwaysSuccessful in class Converter
        Returns:
        true if this Converter will never return a ValidationFailure