public static class TextInputControl.NumberInputConverter extends Object implements javax.faces.convert.Converter, javax.faces.component.StateHolder
| Constructor and Description |
|---|
NumberInputConverter() |
NumberInputConverter(NumberFormat nf) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAsObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String value) |
String |
getAsString(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object value) |
boolean |
isTransient() |
void |
restoreState(javax.faces.context.FacesContext context,
Object state) |
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setTransient(boolean newTransientValue) |
public NumberInputConverter()
public NumberInputConverter(NumberFormat nf)
public Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHolderpublic void restoreState(javax.faces.context.FacesContext context,
Object state)
restoreState in interface javax.faces.component.StateHolderpublic boolean isTransient()
isTransient in interface javax.faces.component.StateHolderpublic void setTransient(boolean newTransientValue)
setTransient in interface javax.faces.component.StateHolderpublic String getAsString(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
getAsString in interface javax.faces.convert.ConverterCopyright © 2008–2023 Apache Software Foundation. All rights reserved.