Package org.jivesoftware.smackx.xdata
Class FormField.Required
- java.lang.Object
-
- org.jivesoftware.smackx.xdata.FormField.Required
-
- All Implemented Interfaces:
Element,FullyQualifiedElement,NamedElement,XmlLangElement,FormFieldChildElement
- Enclosing class:
- FormField
public static final class FormField.Required extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetElementName()Returns the root element name.StringgetNamespace()Returns the root element XML namespace.QNamegetQName()booleanmustBeOnlyOfHisKind()StringtoXML(XmlEnvironment xmlEnvironment)-
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
checkConsistency, isExclusiveElement, requiresNoTypeSet, validate
-
Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement
getLanguage
-
-
-
-
Field Detail
-
INSTANCE
public static final FormField.Required INSTANCE
-
ELEMENT
public static final String ELEMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getElementName
public String getElementName()
Description copied from interface:NamedElementReturns the root element name.- Returns:
- the element name.
-
getNamespace
public String getNamespace()
Description copied from interface:FullyQualifiedElementReturns the root element XML namespace.- Returns:
- the namespace.
-
mustBeOnlyOfHisKind
public boolean mustBeOnlyOfHisKind()
-
toXML
public String toXML(XmlEnvironment xmlEnvironment)
-
-