com.sun.faces.application
Class ValueExpressionValueBindingAdapter
java.lang.Object
javax.el.Expression
javax.el.ValueExpression
com.sun.faces.application.ValueExpressionValueBindingAdapter
- All Implemented Interfaces:
- java.io.Serializable, javax.faces.component.StateHolder
public class ValueExpressionValueBindingAdapter
- extends javax.el.ValueExpression
- implements java.io.Serializable, javax.faces.component.StateHolder
Wrap a ValueBinding instance and expose it as a
ValueExpression.
- See Also:
- Serialized Form
Method Summary |
boolean |
equals(java.lang.Object other)
|
java.lang.String |
getDelimiterSyntax()
|
java.lang.Class<?> |
getExpectedType()
|
java.lang.String |
getExpressionString()
|
java.lang.Class<?> |
getType(javax.el.ELContext context)
|
java.lang.Object |
getValue(javax.el.ELContext context)
|
javax.faces.el.ValueBinding |
getWrapped()
|
int |
hashCode()
|
boolean |
isLiteralText()
Always return false since we can't possibly know
if this is a literal text binding or not. |
boolean |
isReadOnly(javax.el.ELContext context)
|
boolean |
isTransient()
|
private static java.lang.Class |
loadClass(java.lang.String name,
java.lang.Object fallbackClass)
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setTransient(boolean newTransientValue)
|
void |
setValue(javax.el.ELContext context,
java.lang.Object value)
|
Methods inherited from class javax.el.ValueExpression |
getValueReference |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
binding
private javax.faces.el.ValueBinding binding
tranzient
private boolean tranzient
ValueExpressionValueBindingAdapter
public ValueExpressionValueBindingAdapter()
ValueExpressionValueBindingAdapter
public ValueExpressionValueBindingAdapter(javax.faces.el.ValueBinding binding)
getValue
public java.lang.Object getValue(javax.el.ELContext context)
throws javax.el.ELException
- Specified by:
getValue
in class javax.el.ValueExpression
- Throws:
javax.el.ELException
setValue
public void setValue(javax.el.ELContext context,
java.lang.Object value)
throws javax.el.ELException
- Specified by:
setValue
in class javax.el.ValueExpression
- Throws:
javax.el.ELException
isReadOnly
public boolean isReadOnly(javax.el.ELContext context)
throws javax.el.ELException
- Specified by:
isReadOnly
in class javax.el.ValueExpression
- Throws:
javax.el.ELException
getType
public java.lang.Class<?> getType(javax.el.ELContext context)
throws javax.el.ELException
- Specified by:
getType
in class javax.el.ValueExpression
- Throws:
javax.el.ELException
isLiteralText
public boolean isLiteralText()
Always return false
since we can't possibly know
if this is a literal text binding or not.
- Specified by:
isLiteralText
in class javax.el.Expression
getExpectedType
public java.lang.Class<?> getExpectedType()
- Specified by:
getExpectedType
in class javax.el.ValueExpression
getExpressionString
public java.lang.String getExpressionString()
- Specified by:
getExpressionString
in class javax.el.Expression
equals
public boolean equals(java.lang.Object other)
- Specified by:
equals
in class javax.el.Expression
hashCode
public int hashCode()
- Specified by:
hashCode
in class javax.el.Expression
getDelimiterSyntax
public java.lang.String getDelimiterSyntax()
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveState
in interface javax.faces.component.StateHolder
restoreState
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
- 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 newTransientValue)
- Specified by:
setTransient
in interface javax.faces.component.StateHolder
loadClass
private static java.lang.Class loadClass(java.lang.String name,
java.lang.Object fallbackClass)
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
getWrapped
public javax.faces.el.ValueBinding getWrapped()
Copyright 2002-2011 Oracle America, Inc. All Rights Reserved.