com.sun.rave.web.ui.util
Class VariableResolver.PropertyDataSource
java.lang.Object
com.sun.rave.web.ui.util.VariableResolver.PropertyDataSource
- All Implemented Interfaces:
- VariableResolver.DataSource
- Enclosing class:
- VariableResolver
public static class VariableResolver.PropertyDataSource
- extends java.lang.Object
- implements VariableResolver.DataSource
This VariableResolver.DataSource
provides access to
UIComponent Properties. It uses the data portion of the
substitution String as a key to the UIComponent's properties via
the attribute Map. If the property is null, it will attempt to
look at the parent's properties.
Method Summary |
java.lang.Object |
getValue(javax.faces.context.FacesContext ctx,
LayoutElement desc,
javax.faces.component.UIComponent component,
java.lang.String key)
See class JavaDoc. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VariableResolver.PropertyDataSource
public VariableResolver.PropertyDataSource()
getValue
public java.lang.Object getValue(javax.faces.context.FacesContext ctx,
LayoutElement desc,
javax.faces.component.UIComponent component,
java.lang.String key)
See class JavaDoc.
- Specified by:
getValue
in interface VariableResolver.DataSource
- Parameters:
ctx
- The FacesContext
desc
- The LayoutElement
component
- The UIComponent
key
- The key used to obtain information from this
DataSource
.
- Returns:
- The value resolved from key.