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) |
Modifier and Type | Method and Description |
---|---|
String |
getSubmittedValue() |
String[] |
getSubmittedValues() |
V |
getValue()
Gets the converted version of the value that was retrieved from the request.
|
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–2017 OmniFaces. All rights reserved.