public class ValueExpressionHelper extends Object
Modifier and Type | Method and Description |
---|---|
static String |
createBareExpressionString(String valueName,
FieldDefinition field)
Returns the value expression string representation without the
surrounding brackets, for instance: "value.property" instead of
#{value.property}.
|
static String |
createExpressionString(String valueName,
FieldDefinition field) |
static boolean |
isFormattedAsELExpression(String expression)
Returns true if given expression contains some special characters, in
which case no transformation of the widget field definition will be done
to make it compliant with
DocumentModelResolver lookups when
handling document fields. |
public static boolean isFormattedAsELExpression(String expression)
DocumentModelResolver
lookups when
handling document fields. Special characters are:
NullPointerException
- if expression is nullpublic static String createBareExpressionString(String valueName, FieldDefinition field)
public static String createExpressionString(String valueName, FieldDefinition field)
Copyright © 2012 Nuxeo SA. All Rights Reserved.