org.openfaces.util
Class ValueBindings
java.lang.Object
org.openfaces.util.ValueBindings
public class ValueBindings
- extends java.lang.Object
This class is only for internal usage from within the OpenFaces library. It shouldn't be used explicitly
by any application code.
Method Summary |
static void |
checkValueClass(java.lang.Object value,
java.lang.Class expectedClass,
javax.faces.component.UIComponent component,
javax.el.ValueExpression expression)
|
static javax.el.ValueExpression |
createValueExpression(javax.faces.context.FacesContext context,
java.lang.String expressionString)
|
static boolean |
get(javax.faces.component.UIComponent component,
java.lang.String property,
java.lang.Boolean fieldValue,
boolean defaultValue)
|
static double |
get(javax.faces.component.UIComponent component,
java.lang.String property,
java.lang.Double fieldValue,
double defaultValue)
|
static int |
get(javax.faces.component.UIComponent component,
java.lang.String property,
java.lang.Integer fieldValue,
int defaultValue)
|
static java.lang.String |
get(javax.faces.component.UIComponent component,
java.lang.String property,
java.lang.String fieldValue)
|
static java.lang.String |
get(javax.faces.component.UIComponent component,
java.lang.String property,
java.lang.String fieldValue,
java.lang.String defaultValue)
|
static
|
get(javax.faces.component.UIComponent component,
java.lang.String property,
T fieldValue,
java.lang.Class<T> cls)
|
static
|
get(javax.faces.component.UIComponent component,
java.lang.String property,
T fieldValue,
T defaultValue,
boolean allowNullBinding,
java.lang.Class<T> cls)
|
static
|
get(javax.faces.component.UIComponent component,
java.lang.String property,
T fieldValue,
T defaultValue,
java.lang.Class<T> cls)
|
static javax.el.ValueExpression |
readValueExpression(java.io.ObjectInput in)
|
static boolean |
set(javax.faces.component.UIComponent component,
java.lang.String property,
boolean value)
|
static boolean |
set(javax.faces.component.UIComponent component,
java.lang.String property,
int value)
|
static boolean |
set(javax.faces.component.UIComponent component,
java.lang.String propertyName,
java.lang.Object value)
|
static void |
setFromList(javax.faces.component.UIComponent component,
java.lang.String propertyName,
java.util.List propertyValueAsList)
|
static void |
writeValueExpression(java.io.ObjectOutput out,
javax.el.ValueExpression expression)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
get
public static java.lang.String get(javax.faces.component.UIComponent component,
java.lang.String property,
java.lang.String fieldValue)
get
public static java.lang.String get(javax.faces.component.UIComponent component,
java.lang.String property,
java.lang.String fieldValue,
java.lang.String defaultValue)
get
public static boolean get(javax.faces.component.UIComponent component,
java.lang.String property,
java.lang.Boolean fieldValue,
boolean defaultValue)
get
public static int get(javax.faces.component.UIComponent component,
java.lang.String property,
java.lang.Integer fieldValue,
int defaultValue)
get
public static double get(javax.faces.component.UIComponent component,
java.lang.String property,
java.lang.Double fieldValue,
double defaultValue)
get
public static <T> T get(javax.faces.component.UIComponent component,
java.lang.String property,
T fieldValue,
java.lang.Class<T> cls)
get
public static <T> T get(javax.faces.component.UIComponent component,
java.lang.String property,
T fieldValue,
T defaultValue,
java.lang.Class<T> cls)
get
public static <T> T get(javax.faces.component.UIComponent component,
java.lang.String property,
T fieldValue,
T defaultValue,
boolean allowNullBinding,
java.lang.Class<T> cls)
checkValueClass
public static void checkValueClass(java.lang.Object value,
java.lang.Class expectedClass,
javax.faces.component.UIComponent component,
javax.el.ValueExpression expression)
set
public static boolean set(javax.faces.component.UIComponent component,
java.lang.String property,
int value)
set
public static boolean set(javax.faces.component.UIComponent component,
java.lang.String property,
boolean value)
set
public static boolean set(javax.faces.component.UIComponent component,
java.lang.String propertyName,
java.lang.Object value)
setFromList
public static void setFromList(javax.faces.component.UIComponent component,
java.lang.String propertyName,
java.util.List propertyValueAsList)
writeValueExpression
public static void writeValueExpression(java.io.ObjectOutput out,
javax.el.ValueExpression expression)
throws java.io.IOException
- Throws:
java.io.IOException
readValueExpression
public static javax.el.ValueExpression readValueExpression(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
createValueExpression
public static javax.el.ValueExpression createValueExpression(javax.faces.context.FacesContext context,
java.lang.String expressionString)
Copyright © 1998-2010 TeamDev Ltd. All Rights Reserved.