public interface TextPrimitive extends Primitive
Modifier and Type | Interface and Description |
---|---|
static class |
TextPrimitive.TextFormat
Represent the allowed input format of the data
|
Primitive.PrimitiveType
Modifier and Type | Method and Description |
---|---|
void |
assertInputData(SecureString data)
Assert the the given input data is valid for this primitive.
|
int |
getMaximumInputLength()
Get the maximum allowed input characters for this primitive, -1 if there
is no maximum or not applicable.
|
int |
getMinimumInputLength()
Get the minimum allowed input characters for this primitive, -1 if there
is no minimum or not applicable.
|
TextPrimitive.TextFormat |
getTextFormat()
Get the text format.
|
boolean |
validateInputData(SecureString data)
Check if the given input data is valid for this primitive.
|
getDescription, getName, getTag, getType
int getMinimumInputLength()
int getMaximumInputLength()
TextPrimitive.TextFormat getTextFormat()
boolean validateInputData(SecureString data)
data
- the input data to checktrue
if data validassertInputData(com.gemalto.idp.mobile.core.util.SecureString)
void assertInputData(SecureString data)
data
- the input data to checkDsDataFormatException
- if the data is not validvalidateInputData(com.gemalto.idp.mobile.core.util.SecureString)