|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.extensions.validator.core.el.ValueBindingExpression
public class ValueBindingExpression
An instance of this class stores the different parts of an expression string and allows an easier usage of value-bindings.
| Constructor Summary | |
|---|---|
ValueBindingExpression(String expression)
Creates an instance of a ValueBindingExpression based on a well formed EL expression. |
|
| Method Summary | |
|---|---|
static ValueBindingExpression |
addProperty(ValueBindingExpression valueBindingExpression,
String newProperty)
Adds the property to the given ValueBindingExpression. |
boolean |
equals(Object target)
|
ValueBindingExpression |
getBaseExpression()
|
String |
getExpressionString()
Recreates the expression string from which this valueBindingExpression was build. |
String |
getPrefix()
|
String |
getProperty()
The (last) property of the expression. |
int |
hashCode()
|
static ValueBindingExpression |
replaceOrAddProperty(ValueBindingExpression valueBindingExpression,
String newProperty)
The given property is used as new property of the expression. |
static ValueBindingExpression |
replaceProperty(ValueBindingExpression valueBindingExpression,
String newProperty)
Replace the property in the expression string with the given property. |
void |
setPrefix(String prefix)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ValueBindingExpression(String expression)
expression - The EL expression| Method Detail |
|---|
public static ValueBindingExpression replaceOrAddProperty(ValueBindingExpression valueBindingExpression,
String newProperty)
valueBindingExpression - The target instance of ValueBindingExpressionnewProperty - The property to use.
ValueBindingExpression (with the new property)
public static ValueBindingExpression replaceProperty(ValueBindingExpression valueBindingExpression,
String newProperty)
valueBindingExpression - The valueBindingExpression where we want to replace the propertynewProperty - The new property which should replace the existing one.
ValueBindingExpression (with the new property)
public static ValueBindingExpression addProperty(ValueBindingExpression valueBindingExpression,
String newProperty)
ValueBindingExpression.
valueBindingExpression - The valueBindingExpression where we want to add the propertynewProperty - The property to add.
ValueBindingExpression (with the new property)public String getProperty()
public ValueBindingExpression getBaseExpression()
public String getExpressionString()
public String getPrefix()
public void setPrefix(String prefix)
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object target)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||