IT. Expert System.

Java Enterprise Edition (EE)

ValueHolder


javax.faces.component
Interface ValueHolder

All Known Subinterfaces:
EditableValueHolder
All Known Implementing Classes:
HtmlBody, HtmlHead, 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 ValueHolder

ValueHolder is an interface that may be implemented by any concrete UIComponent that 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 Summary
 Converter getConverter()
          Return the Converter (if any) that is registered for this UIComponent.
 java.lang.Object getLocalValue()
          Return the local value of this UIComponent (if any), without evaluating any associated ValueExpression.
 java.lang.Object getValue()
          Gets the value of this UIComponent.
 void setConverter(Converter converter)
          Set the Converter (if any) that is registered for this UIComponent.
 void setValue(java.lang.Object value)
          Set the value of this UIComponent (if any).
 

Method Detail

getLocalValue

java.lang.Object getLocalValue()

Return the local value of this UIComponent (if any), without evaluating any associated ValueExpression.

getValue

java.lang.Object getValue()

Gets the value of this UIComponent. If validation failed, as indicated by FacesContext#isValidationFailed returning true, always return the local value. Otherwise, first, consult the local value property of this component. If non-null return it. If null, see if we have a ValueExpression for the value property. If so, return the result of evaluating the property, otherwise return null. Note that because the specification for UIComponent#setValueBinding requires a call through to UIComponent#setValueExpression, legacy tags will continue to work.

setValue

void setValue(java.lang.Object value)

Set the value of this UIComponent (if any).

Parameters:
value - The new local value

getConverter

Converter getConverter()

Return the Converter (if any) that is registered for this UIComponent.

setConverter

void setConverter(Converter converter)

Set the Converter (if any) that is registered for this UIComponent.

Parameters:
converter - New Converter (or null)


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 2833 / . Delta: 0.02418 с