Class ValidateElement.OpenValidateElement
java.lang.Object
org.jivesoftware.smackx.xdatavalidation.packet.ValidateElement
org.jivesoftware.smackx.xdatavalidation.packet.ValidateElement.OpenValidateElement
- All Implemented Interfaces:
Element
,NamedElement
,XmlElement
,XmlLangElement
,FormFieldChildElement
- Enclosing class:
- ValidateElement
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.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jivesoftware.smackx.xdatavalidation.packet.ValidateElement
ValidateElement.BasicValidateElement, ValidateElement.ListRange, ValidateElement.OpenValidateElement, ValidateElement.RangeValidateElement, ValidateElement.RegexValidateElement
-
Field Summary
Fields inherited from class org.jivesoftware.smackx.xdatavalidation.packet.ValidateElement
DATATYPE_XS_STRING, ELEMENT, NAMESPACE, QNAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Append XML.void
checkConsistency
(FormField.Builder<?, ?> formField) Check if this element is consistent according to the business rules in XEP-0122.Methods inherited from class org.jivesoftware.smackx.xdatavalidation.packet.ValidateElement
checkListRangeConsistency, checkNonMultiConsistency, from, getDatatype, getElementName, getListRange, getNamespace, getQName, mustBeOnlyOfHisKind, setListRange, toXML
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jivesoftware.smackx.xdata.FormFieldChildElement
isExclusiveElement, requiresNoTypeSet, validate
Methods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage
-
Field Details
-
METHOD
- See Also:
-
-
Constructor Details
-
OpenValidateElement
Open validate element constructor.- Parameters:
datatype
- TODO javadoc me please- See Also:
-
-
Method Details
-
appendXML
Description copied from class:ValidateElement
Append XML.- Specified by:
appendXML
in classValidateElement
- Parameters:
buf
- TODO javadoc me please
-
checkConsistency
Description copied from class:ValidateElement
Check if this element is consistent according to the business rules in XEP-0122.- Specified by:
checkConsistency
in interfaceFormFieldChildElement
- Specified by:
checkConsistency
in classValidateElement
- Parameters:
formField
- the builder used to construct the form field.
-