Class StringConverter.StringToAnyURI

    • Constructor Detail

    • Method Detail

      • convertString

        public ConversionResult convertString​(java.lang.CharSequence input)
        Description copied from class: StringConverter
        Convert a string to the target type of this converter.
        Specified by:
        convertString in class StringConverter
        Parameters:
        input - the string to be converted
        Returns:
        either an AtomicValue of the appropriate type for this converter (if conversion succeeded), or a ValidationFailure if conversion failed.
      • validate

        public ValidationFailure validate​(java.lang.CharSequence 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