|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.el.PropertyResolver
com.sun.rave.web.ui.faces.UIComponentPropertyResolver
public class UIComponentPropertyResolver
Custom JSF PropertyResolver that, when the base
object is a UIComponent, scans for a child with the
id specified by the property name.
| Constructor Summary | |
|---|---|
UIComponentPropertyResolver()
|
|
UIComponentPropertyResolver(javax.faces.el.PropertyResolver original)
Construct a new UIComponentPropertyResolver that decorates
the specified PropertyResolver. |
|
| Method Summary | |
|---|---|
java.lang.Class |
getType(java.lang.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. |
java.lang.Class |
getType(java.lang.Object base,
java.lang.Object property)
When the base object is a UIComponent, treat the
property name as the id of a child component to be
retrieved. |
java.lang.Object |
getValue(java.lang.Object base,
int index)
When the base object is a UIComponent, treat the
index as the zero-relative index of the child to be returned. |
java.lang.Object |
getValue(java.lang.Object base,
java.lang.Object property)
When the base object is a UIComponent, treat the
property name as the id of a child component to be
returned. |
boolean |
isReadOnly(java.lang.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. |
boolean |
isReadOnly(java.lang.Object base,
java.lang.Object property)
When the base object is a UIComponent, treat the
property name as the id of a child component to be
retrieved. |
void |
setValue(java.lang.Object base,
int index,
java.lang.Object value)
When the base object is a UIComponent, treat the
index as the zero-relative index of the child to be replaced. |
void |
setValue(java.lang.Object base,
java.lang.Object property,
java.lang.Object value)
When the base object is a UIComponent, treat the
property name as the id of a child component to be
replaced. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UIComponentPropertyResolver()
public UIComponentPropertyResolver(javax.faces.el.PropertyResolver original)
Construct a new UIComponentPropertyResolver that decorates
the specified PropertyResolver.
original - Original PropertyResolver to decorate| Method Detail |
|---|
public java.lang.Object getValue(java.lang.Object base,
java.lang.Object property)
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).
getValue in class javax.faces.el.PropertyResolverbase - Base objectproperty - Property name
public java.lang.Object getValue(java.lang.Object base,
int index)
When the base object is a UIComponent, treat the
index as the zero-relative index of the child to be returned.
getValue in class javax.faces.el.PropertyResolverbase - Base objectindex - Zero-relative child index
public void setValue(java.lang.Object base,
java.lang.Object property,
java.lang.Object value)
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).
setValue in class javax.faces.el.PropertyResolverbase - Base objectproperty - Property namevalue - Replacement component
public void setValue(java.lang.Object base,
int index,
java.lang.Object value)
When the base object is a UIComponent, treat the
index as the zero-relative index of the child to be replaced.
setValue in class javax.faces.el.PropertyResolverbase - Base objectindex - Zero-relative child indexvalue - Replacement component
public boolean isReadOnly(java.lang.Object base,
java.lang.Object property)
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).
isReadOnly in class javax.faces.el.PropertyResolverbase - Base objectproperty - Property name
public boolean isReadOnly(java.lang.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.
If the specified child actually exists, return false
(because replacement is allowed).
isReadOnly in class javax.faces.el.PropertyResolverbase - Base objectindex - Zero-relative child index
public java.lang.Class getType(java.lang.Object base,
java.lang.Object property)
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).
getType in class javax.faces.el.PropertyResolverbase - Base objectproperty - Property name
public java.lang.Class getType(java.lang.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.
If the specified child actually exists,
return javax.faces.component.UIComponent.
getType in class javax.faces.el.PropertyResolverbase - Base objectindex - Zero-relative child index
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||