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 submittedValue,
Param requestParameter,
Class<?> targetType,
V value) |
Modifier and Type | Method and Description |
---|---|
String |
getSubmittedValue() |
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()
Copyright © 2012–2015 OmniFaces. All rights reserved.