Package | Description |
---|---|
org.jivesoftware.smackx.xdata |
Smacks implementation of XEP-0004: Data Forms.
|
org.jivesoftware.smackx.xdatavalidation.packet |
Element classes for XEP-0122: Data Forms Validation.
|
org.jivesoftware.smackx.xdatavalidation.provider |
Provider classes for XEP-0122: Data Forms Validation.
|
Modifier and Type | Method and Description |
---|---|
ValidateElement |
FormField.getValidateElement()
Get validate element.
|
Modifier and Type | Method and Description |
---|---|
void |
FormField.setValidateElement(ValidateElement validateElement)
Set validate element.
|
Modifier and Type | Class and Description |
---|---|
static class |
ValidateElement.BasicValidateElement
Validation only against the datatype itself.
|
static class |
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.
|
static class |
ValidateElement.RangeValidateElement
Indicate that the value should fall within a certain range.
|
static class |
ValidateElement.RegexValidateElement
Indicates that the value should be restricted to a regular expression.
|
Modifier and Type | Method and Description |
---|---|
static ValidateElement |
DataValidationProvider.parse(org.xmlpull.v1.XmlPullParser parser) |