See: Description
Class | Description |
---|---|
Validation |
The implementation of the
<validate/> element in the http://jabber.org/protocol/xdata-validate namespace, which is used to validate form fields. |
Validation.ListRange |
For "list-multi", validation can indicate that a minimum and maximum number of options should be selected and/or entered.
|
Validation.ValidationMethod |
The abstract validation method.
|
Validation.ValidationMethod.Basic |
Indicates, that the value(s) should simply match the field type and datatype constraints.
|
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.
|
Validation.ValidationMethod.Range |
Indicates that the value should fall within a certain range.
|
Validation.ValidationMethod.Regex |
Indicates that the value should be restricted to a regular expression.
|
Provides XML schema implementations of XEP-0122: Data Forms Validation.
It defines a backwards-compatible extension to the XMPP Data Forms protocol that enables applications to specify additional validation guidelines related to a form, such as validation of standard XML datatypes, application-specific datatypes, value ranges, and regular expressions.
Copyright © 2014–2019 XMPP.rocks. All rights reserved.