Uses of Class
org.apache.wicket.util.string.StringValueConversionException
Packages that use StringValueConversionException
Package
Description
String utilities.
This package provides casting utilities.
-
Uses of StringValueConversionException in org.apache.wicket.util.lang
Methods in org.apache.wicket.util.lang that throw StringValueConversionException -
Uses of StringValueConversionException in org.apache.wicket.util.string
Methods in org.apache.wicket.util.string that throw StringValueConversionExceptionModifier and TypeMethodDescriptionstatic boolean
Converts the text ins
to a corresponding boolean.final <T> T
Converts this StringValue to a given type.static Boolean
Converts the string s to a Boolean.final boolean
StringValue.toBoolean()
Convert this text to a boolean.final Boolean
StringValue.toBooleanObject()
Convert this text to a boolean.static char
Converts the 1 character string s to a character.final char
StringValue.toChar()
Convert this text to a char.final Character
StringValue.toCharacter()
Convert this text to a Character.final double
StringValue.toDouble()
Convert this text to a double.final Double
StringValue.toDoubleObject()
Convert this text to a Double.final Duration
StringValue.toDuration()
Convert this text to a Duration instance.final <T extends Enum<T>>
TConvert this text to an enum.final Instant
StringValue.toInstant()
Convert this text to anInstant
instance.final int
StringValue.toInt()
Convert this text to an int.final Integer
StringValue.toInteger()
Convert this text to an Integer.final long
StringValue.toLong()
Convert this text to a long.final Long
StringValue.toLongObject()
Convert this text to a Long.final <T> T
StringValue.toOptional
(Class<T> type) Converts this StringValue to a given type ornull
if the value is empty.final Boolean
StringValue.toOptionalBoolean()
Convert to object types, returning null if text is null or empty.final Character
StringValue.toOptionalCharacter()
Convert to object types, returning null if text is null or empty.final Double
StringValue.toOptionalDouble()
Convert to object types, returning null if text is null or empty.final Duration
StringValue.toOptionalDuration()
Convert to object types, returning null if text is null or empty.final <T extends Enum<T>>
TStringValue.toOptionalEnum
(Class<T> eClass) Convert to enum, returning null if text is null or empty.final Instant
StringValue.toOptionalInstant()
Convert to object types, returning null if text is null or empty.final Integer
StringValue.toOptionalInteger()
Convert to object types, returning null if text is null or empty.final Long
StringValue.toOptionalLong()
Convert to object types, returning null if text is null or empty. -
Uses of StringValueConversionException in org.apache.wicket.util.value
Methods in org.apache.wicket.util.value that throw StringValueConversionExceptionModifier and TypeMethodDescriptionboolean
CopyOnWriteValueMap.getBoolean
(String key) boolean
IValueMap.getBoolean
(String key) Retrieves aboolean
value by key.final boolean
ValueMap.getBoolean
(String key) double
double
Retrieves adouble
value by key.double
Retrieves adouble
value by key, using a default value if not found.final double
CopyOnWriteValueMap.getDuration
(String key) IValueMap.getDuration
(String key) Retrieves aDuration
by key.final Duration
ValueMap.getDuration
(String key) CopyOnWriteValueMap.getInstant
(String key) IValueMap.getInstant
(String key) Retrieves aInstant
object by key.final Instant
ValueMap.getInstant
(String key) int
int
Retrieves anint
value by key.int
Retrieves anint
value by key, using a default value if not found.final int
long
long
Retrieves along
value by key.long
Retrieves along
value by key, using a default value if not found.final long