| com.sun.rave.web.ui.faces.UIComponentPropertyResolver
UIComponentPropertyResolver | public class UIComponentPropertyResolver extends PropertyResolver (Code) | | Custom JSF PropertyResolver that, when the base
object is a UIComponent , scans for a child with the
id specified by the property name.
|
Method Summary | |
public Class | getType(Object base, Object property) When the base object is a UIComponent , treat the
property name as the id of a child component to be
retrieved. | public Class | getType(Object base, int index) When the base object is a UIComponent , treat the
index as the zero-relative index of the child to be retrieved. | public Object | getValue(Object base, Object property) When the base object is a UIComponent , treat the
property name as the id of a child component to be
returned. | public Object | getValue(Object base, int index) | public boolean | isReadOnly(Object base, Object property) When the base object is a UIComponent , treat the
property name as the id of a child component to be
retrieved. | public boolean | isReadOnly(Object base, int index) When the base object is a UIComponent , treat the
index as the zero-relative index of the child to be retrieved. | public void | setValue(Object base, Object property, Object value) When the base object is a UIComponent , treat the
property name as the id of a child component to be
replaced. | public void | setValue(Object base, int index, Object value) |
UIComponentPropertyResolver | public UIComponentPropertyResolver()(Code) | | |
UIComponentPropertyResolver | public UIComponentPropertyResolver(PropertyResolver original)(Code) | | Construct a new
UIComponentPropertyResolver that decorates
the specified PropertyResolver .
Parameters: original - Original PropertyResolver to decorate |
getType | public Class getType(Object base, Object property)(Code) | | When the base object is a UIComponent , treat the
property name as the id of a child component to be
retrieved. If the specified child actually exists, return
javax.faces.component.UIComponent . If there is
no such child, delegate to the rest of the chain (so that component
properties may be accessed).
Parameters: base - Base object Parameters: property - Property name |
getType | public Class getType(Object base, int index)(Code) | | When the base object is a UIComponent , treat the
index as the zero-relative index of the child to be retrieved.
If the specified child actually exists,
return javax.faces.component.UIComponent .
Parameters: base - Base object Parameters: index - Zero-relative child index |
getValue | public Object getValue(Object base, Object property)(Code) | | When the base object is a UIComponent , treat the
property name as the id of a child component to be
returned. If there is no such child, delegate to the rest of
the chain (so that properties of a component may be accessed).
Parameters: base - Base object Parameters: property - Property name |
getValue | public Object getValue(Object base, int index)(Code) | | When the base object is a UIComponent , treat the
index as the zero-relative index of the child to be returned.
Parameters: base - Base object Parameters: index - Zero-relative child index |
isReadOnly | public boolean isReadOnly(Object base, Object property)(Code) | | When the base object is a UIComponent , treat the
property name as the id of a child component to be
retrieved. If the specified child actually exists, return
false (because replacement is allowed). If there
is no such child, delegate to the rest of the chain (so that
component properties may be accessed).
Parameters: base - Base object Parameters: property - Property name |
isReadOnly | public boolean isReadOnly(Object base, int index)(Code) | | When the base object is a UIComponent , treat the
index as the zero-relative index of the child to be retrieved.
If the specified child actually exists, return false
(because replacement is allowed).
Parameters: base - Base object Parameters: index - Zero-relative child index |
setValue | public void setValue(Object base, Object property, Object value)(Code) | | When the base object is a UIComponent , treat the
property name as the id of a child component to be
replaced. If there is no such child, delegate to the rest of the
chain (so that properties of a component may be accessed).
Parameters: base - Base object Parameters: property - Property name Parameters: value - Replacement component |
setValue | public void setValue(Object base, int index, Object value)(Code) | | When the base object is a UIComponent , treat the
index as the zero-relative index of the child to be replaced.
Parameters: base - Base object Parameters: index - Zero-relative child index Parameters: value - Replacement component |
|
|