V
- The type of the actual value this class is wrapping.public class ParamValue<V> extends Object implements Serializable
@
Param
qualifier.
This acts as a wrapper for the actual value that is retrieved from the request and optionally converted.
Constructor and Description |
---|
ParamValue(String[] submittedValues,
Param param,
Type type,
V value)
Deprecated.
Since 3.8. This constructor should not have been public (and the class should have been final).
|
Modifier and Type | Method and Description |
---|---|
String |
getSubmittedValue()
Returns the submitted value.
|
String[] |
getSubmittedValues()
Returns the submitted values.
|
V |
getValue()
Gets the converted version of the value that was retrieved from the request.
|
@Deprecated public ParamValue(String[] submittedValues, Param param, Type type, V value)
public V getValue()
Note: if this instance was injected into a passivating scope and passivation has indeed taken place and the converted value was not serializable, this will attempt to reconvert the submitted value again. Conversion can only be done when in a JSF context!
public String getSubmittedValue()
public String[] getSubmittedValues()
Copyright © 2012–2020 OmniFaces. All rights reserved.