Class StringConverter.StringToStringSubtype

  • Enclosing class:
    StringConverter

    public static class StringConverter.StringToStringSubtype
    extends StringConverter
    Converts from xs:string to a user-defined type derived directly from xs:string
    • 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