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.StateHolder
public void restoreState(javax.faces.context.FacesContext context, Object state)
restoreState
in interface javax.faces.component.StateHolder
public boolean isTransient()
isTransient
in interface javax.faces.component.StateHolder
public void setTransient(boolean newTransientValue)
setTransient
in interface javax.faces.component.StateHolder
public String getAsString(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
getAsString
in interface javax.faces.convert.Converter
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.