public interface ParamHolder extends ValueHolder
ValueHolder
with getName()
method to obtain the parameter name associated with the parameter value and changes the getLocalValue()
method to return the original, unconverted value and changes the getValue()
method to return the converted
value. This is used in among others the Faces.getBookmarkableURL(String, java.util.Collection, boolean)
.Modifier and Type | Method and Description |
---|---|
Object |
getLocalValue()
Returns the original, unconverted value of the parameter.
|
String |
getName()
Returns the name of the parameter.
|
Object |
getValue()
Returns the converted value of the parameter.
|
getConverter, setConverter, setValue
String getName()
Object getLocalValue()
getLocalValue
in interface ValueHolder
Object getValue()
Application.createConverter(Class)
, passing the value's class, then return the result of
Converter.getAsString(javax.faces.context.FacesContext, javax.faces.component.UIComponent, Object)
,
otherwise return the original value of the parameter.getValue
in interface ValueHolder
Converter.getAsString(javax.faces.context.FacesContext, javax.faces.component.UIComponent, Object)
Copyright © 2012–2017 OmniFaces. All rights reserved.