|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SourceConverter
Source converter interface.
| Method Summary | |
|---|---|
Object |
convertFromSource(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Source source)
Converts the received source into its original form. |
Source |
convertFromValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object value)
Obtains a Source instance from the value obtained as a parameter. |
| Method Detail |
|---|
Source convertFromValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object value)
throws ConverterException
context - current faces' context.component - faces' component asking for conversion.value - the value that must be converted.
ConverterException - if value can't be converted.
Object convertFromSource(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Source source)
throws ConverterException
context - current faces' context.component - faces' component asking for conversion.source - the source instance.
ConverterException - if source can't be converted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||