public interface PluralsResourceValue extends ResourceValue
| Modifier and Type | Method and Description |
|---|---|
int |
getPluralsCount()
Returns the number of plural strings.
|
java.lang.String |
getQuantity(int index)
Returns the quantity at the given index, such as "one", "two", "few", etc.
|
java.lang.String |
getValue(int index)
Returns the string element at the given index position.
|
java.lang.String |
getValue(java.lang.String quantity)
Returns the string element for the given quantity
|
asReference, getLibraryName, getName, getNamespace, getNamespaceResolver, getRawXmlValue, getReference, getResourceType, getResourceUrl, getValue, isFramework, isUserDefined, setNamespaceResolver, setValueint getPluralsCount()
@NonNull java.lang.String getQuantity(int index)
index - the index, which must be in the range 0..getPluralsCount()-1.@NonNull java.lang.String getValue(int index)
index - index, which must be in the range 0..getPluralsCount()-1.@Nullable
java.lang.String getValue(@NonNull
java.lang.String quantity)
quantity - the quantity string, such as "one", "two", "few", etc.