org.apache.myfaces.orchestra.dynaForm.jsf.guiBuilder.impl.jsf
Class ValueBindingDataSourceAdapter
java.lang.Object
javax.faces.el.ValueBinding
org.apache.myfaces.orchestra.dynaForm.jsf.guiBuilder.impl.jsf.ValueBindingDataSourceAdapter
- All Implemented Interfaces:
- javax.faces.component.StateHolder
public class ValueBindingDataSourceAdapter
- extends javax.faces.el.ValueBinding
- implements javax.faces.component.StateHolder
wraps a datasource and presents it as selectItem list
| Methods inherited from class javax.faces.el.ValueBinding |
getExpressionString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValueBindingDataSourceAdapter
public ValueBindingDataSourceAdapter()
ValueBindingDataSourceAdapter
public ValueBindingDataSourceAdapter(javax.faces.el.MethodBinding mbValues,
javax.faces.el.MethodBinding mbLabels)
getType
public Class<?> getType(javax.faces.context.FacesContext facesContext)
throws javax.faces.el.EvaluationException,
javax.faces.el.PropertyNotFoundException
- Specified by:
getType in class javax.faces.el.ValueBinding
- Throws:
javax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
getValue
public Object getValue(javax.faces.context.FacesContext facesContext)
throws javax.faces.el.EvaluationException,
javax.faces.el.PropertyNotFoundException
- Specified by:
getValue in class javax.faces.el.ValueBinding
- Throws:
javax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
isReadOnly
public boolean isReadOnly(javax.faces.context.FacesContext facesContext)
throws javax.faces.el.EvaluationException,
javax.faces.el.PropertyNotFoundException
- Specified by:
isReadOnly in class javax.faces.el.ValueBinding
- Throws:
javax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
setValue
public void setValue(javax.faces.context.FacesContext facesContext,
Object object)
throws javax.faces.el.EvaluationException,
javax.faces.el.PropertyNotFoundException
- Specified by:
setValue in class javax.faces.el.ValueBinding
- Throws:
javax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
saveState
public Object saveState(javax.faces.context.FacesContext facesContext)
- Specified by:
saveState in interface javax.faces.component.StateHolder
restoreState
public void restoreState(javax.faces.context.FacesContext facesContext,
Object object)
- Specified by:
restoreState in interface javax.faces.component.StateHolder
isTransient
public boolean isTransient()
- Specified by:
isTransient in interface javax.faces.component.StateHolder
setTransient
public void setTransient(boolean flag)
- Specified by:
setTransient in interface javax.faces.component.StateHolder
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.