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.
|
String |
getValue()
Returns the converted value of the parameter.
|
getConverter, setConverter, setValue
String getName()
Object getLocalValue()
getLocalValue
in interface ValueHolder
String 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 if the value is not null
, then return the value's Object.toString()
, else return
an empty string.getValue
in interface ValueHolder
null
.Converter.getAsString(javax.faces.context.FacesContext, javax.faces.component.UIComponent, Object)