Interface I_CmsXmlValidateWithMessage

    • Method Detail

      • validateWithMessage

        CmsMessageContainer validateWithMessage​(java.lang.String value)
        Checks if a given value is valid according validation rules of this schema type in the XML schema.

        In contrast to I_CmsXmlSchemaType.validateValue(String) a specific error message is returned in the case of validation errors.

        Parameters:
        value - the value to validate
        Returns:
        null if the value is valid, a localized error message otherwise.