|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.javalid.external.jsf.JsfFacadeImpl_11
public class JsfFacadeImpl_11
This implements the JSF version facade, for JSF 1.1 implementations.
| Field Summary |
|---|
| Fields inherited from interface org.javalid.external.jsf.JsfFacade |
|---|
JSF_FACADE_CLASS_11, JSF_FACADE_CLASS_12 |
| Constructor Summary | |
|---|---|
protected |
JsfFacadeImpl_11()
|
| Method Summary | |
|---|---|
java.lang.String |
getExpressionStringForComponentProperty(javax.faces.component.UIComponent component,
java.lang.String propertyName)
Returns the expression string from either the ValueBinding/ValueExpression that is resolved from the component using given property. |
java.lang.Object |
getValueForComponentProperty(javax.faces.context.FacesContext ctx,
javax.faces.component.UIComponent component,
java.lang.String propertyName)
Gets the value of a property from a component. |
java.lang.Object |
getValueForExpression(javax.faces.context.FacesContext ctx,
java.lang.String expression)
For given expression, lookups ValueBinding / ValueExpression and retrieves the value from it. |
void |
setValueForComponentProperty(javax.faces.context.FacesContext ctx,
javax.faces.component.UIComponent component,
java.lang.String propertyName,
java.lang.Object newValue)
Sets a new value for given property from a component. |
void |
setValueForComponentPropertyWithExpression(javax.faces.context.FacesContext ctx,
javax.faces.component.UIComponent component,
java.lang.String propertyName,
java.lang.String expressionValue)
Sets a new value for given property from a component. |
void |
setValueForExpression(javax.faces.context.FacesContext ctx,
java.lang.String expression,
java.lang.Object newValue)
For given expression, lookups ValueBinding / ValueExpression and sets the newValue on it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected JsfFacadeImpl_11()
| Method Detail |
|---|
public java.lang.Object getValueForExpression(javax.faces.context.FacesContext ctx,
java.lang.String expression)
JsfFacade
getValueForExpression in interface JsfFacadectx - The current facescontextexpression - The expression to resolve
public void setValueForExpression(javax.faces.context.FacesContext ctx,
java.lang.String expression,
java.lang.Object newValue)
JsfFacade
setValueForExpression in interface JsfFacadectx - The current facescontextexpression - The expression to resolvenewValue - The new value to set on the valuebinding / valueexpression.
public java.lang.Object getValueForComponentProperty(javax.faces.context.FacesContext ctx,
javax.faces.component.UIComponent component,
java.lang.String propertyName)
JsfFacade
getValueForComponentProperty in interface JsfFacadectx - The contextcomponent - The actual component to get it frompropertyName - The property name
public void setValueForComponentProperty(javax.faces.context.FacesContext ctx,
javax.faces.component.UIComponent component,
java.lang.String propertyName,
java.lang.Object newValue)
JsfFacade
setValueForComponentProperty in interface JsfFacadectx - The contextcomponent - The actual component to get the property and set the value onpropertyName - Property namenewValue - The new value
public void setValueForComponentPropertyWithExpression(javax.faces.context.FacesContext ctx,
javax.faces.component.UIComponent component,
java.lang.String propertyName,
java.lang.String expressionValue)
JsfFacade
setValueForComponentPropertyWithExpression in interface JsfFacadectx - The contextcomponent - The actual component to get the property and set the value onpropertyName - Property nameexpressionValue - The expression value
public java.lang.String getExpressionStringForComponentProperty(javax.faces.component.UIComponent component,
java.lang.String propertyName)
JsfFacade
getExpressionStringForComponentProperty in interface JsfFacadecomponent - The componentpropertyName - The property
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||