public class ValueBindingImpl
extends javax.faces.el.ValueBinding
implements javax.faces.component.StateHolder
Modifier and Type | Class and Description |
---|---|
static class |
ValueBindingImpl.ELVariableResolver |
static class |
ValueBindingImpl.NotVariableReferenceException |
Modifier and Type | Field and Description |
---|---|
protected javax.faces.application.Application |
_application |
protected Object |
_expression |
protected String |
_expressionString |
protected static javax.servlet.jsp.el.FunctionMapper |
s_functionMapper
To implement function support, subclass and use a static
initialization block to assign your own function mapper
|
Constructor and Description |
---|
ValueBindingImpl()
Empty constructor, so that new instances can be created when restoring
state.
|
ValueBindingImpl(javax.faces.application.Application application,
String expression) |
Modifier and Type | Method and Description |
---|---|
String |
getExpressionString() |
protected RuntimeConfig |
getRuntimeConfig(javax.faces.context.FacesContext facesContext) |
Class |
getType(javax.faces.context.FacesContext facesContext) |
Object |
getValue(javax.faces.context.FacesContext facesContext) |
boolean |
isReadOnly(javax.faces.context.FacesContext facesContext) |
boolean |
isTransient() |
protected Object |
resolveToBaseAndProperty(javax.faces.context.FacesContext facesContext) |
void |
restoreState(javax.faces.context.FacesContext facesContext,
Object obj) |
Object |
saveState(javax.faces.context.FacesContext facesContext) |
void |
setTransient(boolean flag) |
void |
setValue(javax.faces.context.FacesContext facesContext,
Object newValue) |
String |
toString() |
protected static javax.servlet.jsp.el.FunctionMapper s_functionMapper
protected javax.faces.application.Application _application
protected String _expressionString
protected Object _expression
public ValueBindingImpl(javax.faces.application.Application application, String expression)
public ValueBindingImpl()
public String getExpressionString()
getExpressionString
in class javax.faces.el.ValueBinding
public boolean isReadOnly(javax.faces.context.FacesContext facesContext)
isReadOnly
in class javax.faces.el.ValueBinding
public Class getType(javax.faces.context.FacesContext facesContext)
getType
in class javax.faces.el.ValueBinding
public void setValue(javax.faces.context.FacesContext facesContext, Object newValue) throws javax.faces.el.EvaluationException, javax.faces.el.PropertyNotFoundException
setValue
in class javax.faces.el.ValueBinding
javax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
public Object getValue(javax.faces.context.FacesContext facesContext) throws javax.faces.el.EvaluationException, javax.faces.el.PropertyNotFoundException
getValue
in class javax.faces.el.ValueBinding
javax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
protected Object resolveToBaseAndProperty(javax.faces.context.FacesContext facesContext) throws javax.servlet.jsp.el.ELException, ValueBindingImpl.NotVariableReferenceException
javax.servlet.jsp.el.ELException
ValueBindingImpl.NotVariableReferenceException
protected RuntimeConfig getRuntimeConfig(javax.faces.context.FacesContext facesContext)
public Object saveState(javax.faces.context.FacesContext facesContext)
saveState
in interface javax.faces.component.StateHolder
public void restoreState(javax.faces.context.FacesContext facesContext, Object obj)
restoreState
in interface javax.faces.component.StateHolder
public boolean isTransient()
isTransient
in interface javax.faces.component.StateHolder
public void setTransient(boolean flag)
setTransient
in interface javax.faces.component.StateHolder
Copyright © 2013 Apache Software Foundation. All Rights Reserved.