Package org.jivesoftware.smackx.xdata
Class AbstractSingleStringValueFormField
- java.lang.Object
-
- org.jivesoftware.smackx.xdata.FormField
-
- org.jivesoftware.smackx.xdata.SingleValueFormField
-
- org.jivesoftware.smackx.xdata.AbstractSingleStringValueFormField
-
- All Implemented Interfaces:
Element
,FullyQualifiedElement
,NamedElement
,XmlLangElement
- Direct Known Subclasses:
ListSingleFormField
,TextSingleFormField
public class AbstractSingleStringValueFormField extends SingleValueFormField
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractSingleStringValueFormField.Builder<F extends SingleValueFormField,B extends SingleValueFormField.Builder<F,B>>
-
Nested classes/interfaces inherited from class org.jivesoftware.smackx.xdata.FormField
FormField.Description, FormField.Option, FormField.Required, FormField.Type, FormField.Value
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractSingleStringValueFormField(AbstractSingleStringValueFormField.Builder<?,?> builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getValue()
java.lang.Integer
getValueAsInt()
-
Methods inherited from class org.jivesoftware.smackx.xdata.SingleValueFormField
getRawValue, getRawValues, getValues, populateExtraXmlChildElements
-
Methods inherited from class org.jivesoftware.smackx.xdata.FormField
asHiddenFormTypeFieldIfPossible, booleanBuilder, builder, buildHiddenFormType, equals, fixedBuilder, fixedBuilder, getDescription, getElementName, getFieldName, getFirstValue, getFirstValueAsDate, getFormFieldChildElement, getFormFieldChildElements, getFormFieldChildElements, getLabel, getNamespace, getQName, getRawValueCharSequences, getType, getValuesAsString, getVariable, hashCode, hasValueSet, hiddenBuilder, ifPossibleAs, ifPossibleAsOrThrow, isRequired, jidMultiBuilder, jidSingleBuilder, listMultiBuilder, listSingleBuilder, textMultiBuilder, textPrivateBuilder, textSingleBuilder, toXML, toXML
-
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
-
-
-
-
Constructor Detail
-
AbstractSingleStringValueFormField
protected AbstractSingleStringValueFormField(AbstractSingleStringValueFormField.Builder<?,?> builder)
-
-
Method Detail
-
getValue
public final java.lang.String getValue()
- Specified by:
getValue
in classSingleValueFormField
-
getValueAsInt
public final java.lang.Integer getValueAsInt()
-
-