Class ValidateElement.RegexValidateElement
java.lang.Object
org.jivesoftware.smackx.xdatavalidation.packet.ValidateElement
org.jivesoftware.smackx.xdatavalidation.packet.ValidateElement.RegexValidateElement
- All Implemented Interfaces:
 Element,NamedElement,XmlElement,XmlLangElement,FormFieldChildElement
- Enclosing class:
 - ValidateElement
 
Indicates that the value should be restricted to a regular expression. The regular expression must be that
 defined for  POSIX extended regular
 expressions  including support for Unicode.
- 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
FieldsFields inherited from class org.jivesoftware.smackx.xdatavalidation.packet.ValidateElement
DATATYPE_XS_STRING, ELEMENT, NAMESPACE, QNAME - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidAppend XML.voidcheckConsistency(FormField.Builder<?, ?> formField) Check if this element is consistent according to the business rules in XEP-0122.getRegex()the expression is that defined for POSIX extended regular expressions, including support for Unicode.Methods inherited from class org.jivesoftware.smackx.xdatavalidation.packet.ValidateElement
checkListRangeConsistency, checkNonMultiConsistency, from, getDatatype, getElementName, getListRange, getNamespace, getQName, mustBeOnlyOfHisKind, setListRange, toXMLMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.smackx.xdata.FormFieldChildElement
isExclusiveElement, requiresNoTypeSet, validateMethods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage 
- 
Field Details
- 
METHOD
- See Also:
 
 
 - 
 - 
Constructor Details
- 
RegexValidateElement
Regex validate element.- Parameters:
 datatype- TODO javadoc me pleaseregex- TODO javadoc me please- See Also:
 
 
 - 
 - 
Method Details
- 
getRegex
the expression is that defined for POSIX extended regular expressions, including support for Unicode.- Returns:
 - the regex
 
 - 
appendXML
Description copied from class:ValidateElementAppend XML.- Specified by:
 appendXMLin classValidateElement- Parameters:
 buf- TODO javadoc me please
 - 
checkConsistency
Description copied from class:ValidateElementCheck if this element is consistent according to the business rules in XEP-0122.- Specified by:
 checkConsistencyin interfaceFormFieldChildElement- Specified by:
 checkConsistencyin classValidateElement- Parameters:
 formField- the builder used to construct the form field.
 
 -