org.apache.myfaces.custom.dynaForm.guiBuilder.impl.jsf
Class ValueBindingDataSourceAdapter
java.lang.Object
javax.faces.el.ValueBinding
org.apache.myfaces.custom.dynaForm.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
Method Summary |
java.lang.Class |
getType(javax.faces.context.FacesContext facesContext)
|
java.lang.Object |
getValue(javax.faces.context.FacesContext facesContext)
|
boolean |
isReadOnly(javax.faces.context.FacesContext facesContext)
|
boolean |
isTransient()
|
void |
restoreState(javax.faces.context.FacesContext facesContext,
java.lang.Object object)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext facesContext)
|
void |
setTransient(boolean flag)
|
void |
setValue(javax.faces.context.FacesContext facesContext,
java.lang.Object object)
|
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 java.lang.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 java.lang.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,
java.lang.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 java.lang.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,
java.lang.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 © 2011. All Rights Reserved.