Interface ValueHolder
- 
- All Known Subinterfaces:
- EditableValueHolder
 - All Known Implementing Classes:
- HtmlBody,- HtmlDoctype,- HtmlHead,- HtmlInputFile,- HtmlInputHidden,- HtmlInputSecret,- HtmlInputText,- HtmlInputTextarea,- HtmlOutcomeTargetButton,- HtmlOutcomeTargetLink,- HtmlOutputFormat,- HtmlOutputLabel,- HtmlOutputLink,- HtmlOutputText,- HtmlSelectBooleanCheckbox,- HtmlSelectManyCheckbox,- HtmlSelectManyListbox,- HtmlSelectManyMenu,- HtmlSelectOneListbox,- HtmlSelectOneMenu,- HtmlSelectOneRadio,- UIInput,- UIOutcomeTarget,- UIOutput,- UISelectBoolean,- UISelectMany,- UISelectOne,- UIViewParameter
 
 public interface ValueHolderValueHolder is an interface that may be implemented by any concrete UIComponentthat wishes to support a local value, as well as access data in the model tier via a value expression, and support conversion between String and the model tier data's native data type.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ConvertergetConverter()Return theConverter(if any) that is registered for thisUIComponent.ObjectgetLocalValue()Return the local value of thisUIComponent(if any), without evaluating any associatedValueExpression.ObjectgetValue()Gets the value of thisUIComponent.voidsetConverter(Converter converter)Set theConverter(if any) that is registered for thisUIComponent.voidsetValue(Object value)Set the value of thisUIComponent(if any).
 
- 
- 
- 
Method Detail- 
getLocalValueObject getLocalValue() Return the local value of this UIComponent(if any), without evaluating any associatedValueExpression.- Returns:
- the local value.
 
 - 
getValueObject getValue() Gets the value of this UIComponent. If validation failed, as indicated byFacesContext.isValidationFailed()returningtrue, always return the local value. Otherwise, first, consult the local value property of this component. If non-nullreturn it. Ifnull, see if we have aValueExpressionfor thevalueproperty. If so, return the result of evaluating the property, otherwise returnnull.- Returns:
- the value.
 
 - 
setValuevoid setValue(Object value) Set the value of this UIComponent(if any).- Parameters:
- value- The new local value
 
 - 
getConverterConverter getConverter() Return the Converter(if any) that is registered for thisUIComponent.- Returns:
- the converter.
 
 - 
setConvertervoid setConverter(Converter converter) Set the Converter(if any) that is registered for thisUIComponent.- Parameters:
- converter- New- Converter(or- null)
 
 
- 
 
-