Uses of Class
rocks.xmpp.extensions.data.validate.model.Validation.ValidationMethod
-
Packages that use Validation.ValidationMethod Package Description rocks.xmpp.extensions.data.validate.model Provides XML schema implementations of XEP-0122: Data Forms Validation. -
-
Uses of Validation.ValidationMethod in rocks.xmpp.extensions.data.validate.model
Subclasses of Validation.ValidationMethod in rocks.xmpp.extensions.data.validate.model Modifier and Type Class Description static class
Validation.ValidationMethod.Basic
Indicates, that the value(s) should simply match the field type and datatype constraints.static class
Validation.ValidationMethod.Open
For "list-single" or "list-multi", to indicate that the user may enter a custom value (matching the datatype constraints) or choose from the predefined values.static class
Validation.ValidationMethod.Range
Indicates that the value should fall within a certain range.static class
Validation.ValidationMethod.Regex
Indicates that the value should be restricted to a regular expression.Methods in rocks.xmpp.extensions.data.validate.model that return Validation.ValidationMethod Modifier and Type Method Description Validation.ValidationMethod
Validation. getValidationMethod()
Gets the validation method.Constructors in rocks.xmpp.extensions.data.validate.model with parameters of type Validation.ValidationMethod Constructor Description Validation(String dataType, Validation.ValidationMethod validationMethod)
Creates a validation with a data type and validation method.Validation(String dataType, Validation.ValidationMethod validationMethod, Validation.ListRange listRange)
Creates a validation with a data type, validation method and list range.Validation(Validation.ValidationMethod validationMethod)
Creates a validation with a validation method (and no data type, which is optional).
-