- java.lang.Object
-
- javax.faces.el.ValueBinding
-
Deprecated.This has been replaced by
ValueExpression
.
public abstract class ValueBinding extends Object
ValueBinding is an object that can be used to access the property represented by an action or value binding expression. An immutable
ValueBinding
for a particular value binding can be acquired by calling thecreateValueBinding()
method of theApplication
instance for this web application.
-
-
Constructor Summary
Constructors Constructor and Description ValueBinding()
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description String
getExpressionString()
Deprecated.Return the (possiblynull
) expression String, including the delimiters, from which thisValueBinding
was built.abstract Class
getType(FacesContext context)
Deprecated.Return the type of the property represented by thisValueBinding
, relative to the specifiedFacesContext
.abstract Object
getValue(FacesContext context)
Deprecated.Return the value of the property represented by thisValueBinding
, relative to the specifiedFacesContext
.abstract boolean
isReadOnly(FacesContext context)
Deprecated.Returntrue
if the specified property of the specified property is known to be immutable; otherwise, returnfalse
.abstract void
setValue(FacesContext context, Object value)
Deprecated.Set the value of the property represented by thisValueBinding
, relative to the specifiedFacesContext
.
-
-
-
Method Detail
-
getValue
public abstract Object getValue(FacesContext context) throws EvaluationException, PropertyNotFoundException
Deprecated.Return the value of the property represented by this
ValueBinding
, relative to the specifiedFacesContext
.- Parameters:
context
-FacesContext
for the current request- Throws:
EvaluationException
- if an exception is thrown while getting the value (the thrown exception must be included as thecause
property of this exception)NullPointerException
- ifcontext
isnull
PropertyNotFoundException
- if a specified property name does not exist, or is not readable
-
setValue
public abstract void setValue(FacesContext context, Object value) throws EvaluationException, PropertyNotFoundException
Deprecated.Set the value of the property represented by this
ValueBinding
, relative to the specifiedFacesContext
.- Parameters:
context
-FacesContext
for the current requestvalue
- The new value to be set- Throws:
EvaluationException
- if an exception is thrown while setting the value (the thrown exception must be included as thecause
property of this exception)NullPointerException
- ifcontext
isnull
PropertyNotFoundException
- if a specified property name does not exist, or is not writeable
-
isReadOnly
public abstract boolean isReadOnly(FacesContext context) throws EvaluationException, PropertyNotFoundException
Deprecated.Return
true
if the specified property of the specified property is known to be immutable; otherwise, returnfalse
.- Parameters:
context
-FacesContext
for the current request- Throws:
EvaluationException
- if an exception is thrown while getting the description of the property (the thrown exception must be included as thecause
property of this exception)NullPointerException
- ifcontext
isnull
PropertyNotFoundException
- if a specified property name does not exist
-
getType
public abstract Class getType(FacesContext context) throws EvaluationException, PropertyNotFoundException
Deprecated.Return the type of the property represented by this
ValueBinding
, relative to the specifiedFacesContext
.- Parameters:
context
-FacesContext
for the current request- Throws:
EvaluationException
- if an exception is thrown while getting the description of the property (the thrown exception must be included as thecause
property of this exception)NullPointerException
- ifcontext
isnull
PropertyNotFoundException
- if a specified property name does not exist
-
getExpressionString
public String getExpressionString()
Deprecated.Return the (possibly
null
) expression String, including the delimiters, from which thisValueBinding
was built.
-
-
Deutsche Übersetzung
Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.
Vielen Dank im Voraus.
Dokument erstellt 11/06/2005, zuletzt geändert 18/08/2025
Quelle des gedruckten Dokuments:https://www.gaudry.be/de/java-api-javaee-rf-javax/faces/el/ValueBinding.html
Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.
Referenzen
Diese Verweise und Links verweisen auf Dokumente, die während des Schreibens dieser Seite konsultiert wurden, oder die zusätzliche Informationen liefern können, aber die Autoren dieser Quellen können nicht für den Inhalt dieser Seite verantwortlich gemacht werden.
Der Autor dieser Website ist allein dafür verantwortlich, wie die verschiedenen Konzepte und Freiheiten, die mit den Nachschlagewerken gemacht werden, hier dargestellt werden. Denken Sie daran, dass Sie mehrere Quellinformationen austauschen müssen, um das Risiko von Fehlern zu reduzieren.