Class ValidateElement.ListRange
java.lang.Object
org.jivesoftware.smackx.xdatavalidation.packet.ValidateElement.ListRange
- All Implemented Interfaces:
 Element,NamedElement,XmlElement,XmlLangElement
- Enclosing class:
 - ValidateElement
 
This element indicates for "list-multi", that a minimum and maximum number of options should be selected and/or
 entered.
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionReturns the root element name.getMax()The maximum allowable number of selected/entered values.getMin()The minimum allowable number of selected/entered values.Returns the root element XML namespace.toXML(XmlEnvironment enclosingXmlEnvironment) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName 
- 
Field Details
- 
ELEMENT
- See Also:
 
 
 - 
 - 
Constructor Details
- 
ListRange
 - 
ListRange
The 'max' attribute specifies the maximum allowable number of selected/entered values. The 'min' attribute specifies the minimum allowable number of selected/entered values. Both attributes are optional, but at least one must bet set, and the value must be within the range of a unsigned 32-bit integer.- Parameters:
 min- TODO javadoc me pleasemax- TODO javadoc me please
 
 - 
 - 
Method Details
- 
toXML
 - 
getElementName
Description copied from interface:NamedElementReturns the root element name.- Specified by:
 getElementNamein interfaceNamedElement- Returns:
 - the element name.
 
 - 
getMin
The minimum allowable number of selected/entered values.- Returns:
 - a positive integer, can be null
 
 - 
getMax
The maximum allowable number of selected/entered values.- Returns:
 - a positive integer, can be null
 
 - 
getNamespace
Description copied from interface:XmlElementReturns the root element XML namespace.- Specified by:
 getNamespacein interfaceXmlElement- Returns:
 - the namespace.
 
 
 -