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 java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELEMENT
static FormField.Required
INSTANCE
static javax.xml.namespace.QName
QNAME
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getElementName()
Returns the root element name.java.lang.String
getNamespace()
Returns the root element XML namespace.javax.xml.namespace.QName
getQName()
boolean
mustBeOnlyOfHisKind()
java.lang.String
toXML(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 java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
QNAME
public static final javax.xml.namespace.QName QNAME
-
-
Method Detail
-
getElementName
public java.lang.String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Returns:
- the element name.
-
getNamespace
public java.lang.String getNamespace()
Description copied from interface:FullyQualifiedElement
Returns the root element XML namespace.- Returns:
- the namespace.
-
getQName
public javax.xml.namespace.QName getQName()
-
mustBeOnlyOfHisKind
public boolean mustBeOnlyOfHisKind()
-
toXML
public java.lang.String toXML(XmlEnvironment xmlEnvironment)
-
-