Name
PropertyResolver
Synopsis
An instance of a subclass of this abstract class resolves property and element accessor operators in a JSF EL expression. See Appendix B for details about the default resolver.
Synopsis
Class name: |
javax.faces.el.PropertyResolver |
Extends: |
None |
Implements: |
None |
Constructors
-
public PropertyResolver()
Creates an instance.
Methods
-
public abstract Class getType(Object base, int index)
Returns the
Class
representing the type of the element of the base object at the specified index ornull
if unknown. ThrowsPropertyNotFoundException
if the base object isnull
or the index is out of bounds, orEvaluationException
wrapping any exception thrown while getting the type.-
public abstract Class getType(Object base, Object property)
Returns the
Class
representing the type of the property of the base object (after coercing the property to aString
if the base object is a bean) ornull
if unknown. ThrowsPropertyNotFoundException
if the base object is a bean and the property doesn’t exist or if the base object or the property isnull
, orEvaluationException
wrapping any exception thrown while getting the type.-
public abstract Object getValue(Object base, int index)
Returns the
Object
represented by the element of the base object at the specified index. ThrowsPropertyNotFoundException
if the base object isnull
or the index is out of bounds, orEvaluationException
wrapping any exception thrown while getting the value.-
public abstract Object getValue(Object base, ...
Get JavaServer Faces now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.