Package org.jivesoftware.smackx.xdatavalidation.packet
Element classes for XEP-0122: Data Forms Validation.
-
Class Summary Class Description ValidateElement DataValidation Extension according to XEP-0122: Data Forms Validation.ValidateElement.BasicValidateElement Validation only against the datatype itself.ValidateElement.ListRange This element indicates for "list-multi", that a minimum and maximum number of options should be selected and/or entered.ValidateElement.OpenValidateElement For "list-single" or "list-multi", indicates that the user may enter a custom value (matching the datatype constraints) or choose from the predefined values.ValidateElement.RangeValidateElement Indicate that the value should fall within a certain range.ValidateElement.RegexValidateElement Indicates that the value should be restricted to a regular expression.