Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.forms.layout.facelets
Class ValueExpressionHelper

java.lang.Object
  extended by org.nuxeo.ecm.platform.forms.layout.facelets.ValueExpressionHelper

public class ValueExpressionHelper
extends Object

Helper for managing value expressions.

Author:
Anahide Tchertchian

Method Summary
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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isFormattedAsELExpression

public static boolean isFormattedAsELExpression(String expression)

createBareExpressionString

public 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}.


createExpressionString

public static String createExpressionString(String valueName,
                                            FieldDefinition field)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.