Package | Description |
---|---|
rocks.xmpp.extensions.data.validate.model |
Provides XML schema implementations of XEP-0122: Data Forms Validation.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
Validation.ValidationMethod |
Validation.getValidationMethod()
Gets the validation method.
|
Constructor and Description |
---|
Validation(java.lang.String dataType,
Validation.ValidationMethod validationMethod)
Creates a validation with a data type and validation method.
|
Validation(java.lang.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).
|
Copyright © 2014–2019 XMPP.rocks. All rights reserved.