com.sun.faces.application
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.
Modifier and Type | Field and Description |
---|---|
private javax.faces.el.ValueBinding |
binding |
private static long |
serialVersionUID |
private boolean |
tranzient |
Constructor and Description |
---|
ValueExpressionValueBindingAdapter() |
ValueExpressionValueBindingAdapter(javax.faces.el.ValueBinding binding) |
Modifier and Type | Method and Description |
---|---|
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) |
private static final long serialVersionUID
private javax.faces.el.ValueBinding binding
private boolean tranzient
public ValueExpressionValueBindingAdapter()
public ValueExpressionValueBindingAdapter(javax.faces.el.ValueBinding binding)
public java.lang.Object getValue(javax.el.ELContext context) throws javax.el.ELException
getValue
in class javax.el.ValueExpression
javax.el.ELException
public void setValue(javax.el.ELContext context, java.lang.Object value) throws javax.el.ELException
setValue
in class javax.el.ValueExpression
javax.el.ELException
public boolean isReadOnly(javax.el.ELContext context) throws javax.el.ELException
isReadOnly
in class javax.el.ValueExpression
javax.el.ELException
public java.lang.Class<?> getType(javax.el.ELContext context) throws javax.el.ELException
getType
in class javax.el.ValueExpression
javax.el.ELException
public boolean isLiteralText()
Always return false
since we can't possibly know
if this is a literal text binding or not.
isLiteralText
in class javax.el.Expression
public java.lang.Class<?> getExpectedType()
getExpectedType
in class javax.el.ValueExpression
public java.lang.String getExpressionString()
getExpressionString
in class javax.el.Expression
public boolean equals(java.lang.Object other)
equals
in class javax.el.Expression
public int hashCode()
hashCode
in class javax.el.Expression
public java.lang.String getDelimiterSyntax()
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
public boolean isTransient()
isTransient
in interface javax.faces.component.StateHolder
public void setTransient(boolean newTransientValue)
setTransient
in interface javax.faces.component.StateHolder
private static java.lang.Class loadClass(java.lang.String name, java.lang.Object fallbackClass) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public javax.faces.el.ValueBinding getWrapped()
Copyright © 2002-2010 Oracle America, Inc. All Rights Reserved.