Package org.jivesoftware.smackx.xdata
Class FormField.Value
- java.lang.Object
-
- org.jivesoftware.smackx.xdata.FormField.Value
-
- All Implemented Interfaces:
Element,FullyQualifiedElement,NamedElement,XmlLangElement
- Enclosing class:
- FormField
public static class FormField.Value extends Object implements FullyQualifiedElement
-
-
Constructor Summary
Constructors Constructor Description Value(CharSequence value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)StringgetElementName()Returns the root element name.StringgetNamespace()Returns the root element XML namespace.QNamegetQName()CharSequencegetValue()inthashCode()XmlStringBuildertoXML(XmlEnvironment xmlEnvironment)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement
getLanguage
-
-
-
-
Field Detail
-
ELEMENT
public static final String ELEMENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Value
public Value(CharSequence value)
-
-
Method Detail
-
getValue
public CharSequence getValue()
-
getElementName
public String getElementName()
Description copied from interface:NamedElementReturns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
getNamespace
public String getNamespace()
Description copied from interface:FullyQualifiedElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceFullyQualifiedElement- Returns:
- the namespace.
-
getQName
public QName getQName()
- Specified by:
getQNamein interfaceFullyQualifiedElement
-
toXML
public XmlStringBuilder toXML(XmlEnvironment xmlEnvironment)
-
-