org.eclnt.jsfserver.util

## Class ExpressionUtil

- java.lang.Object
- - org.eclnt.jsfserver.util.ExpressionUtil

-     public class ExpressionUtil
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ExpressionUtil()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.String` | `createParentExpression(java.lang.String expression)` Creates parent expression for this expression.
    `static java.lang.String` | `findLastPropertyName(java.lang.String expression)` Find last property name in epxression.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ExpressionUtil

          public ExpressionUtil()

  - ### Method Detail

    - #### createParentExpression

          public static java.lang.String createParentExpression(java.lang.String expression)

      Creates parent expression for this expression. Returns null in case of problems.
      Example 1: "#{x.y.z}" => "#{x.y}"
      Example 2: "#{x.y['z']}" => "#{x.y}"
      Example 3: "#{x.y["z"]}" => "#{x.y}"
      Example 3: "#{x.y[1]}" => "#{x.y}"

    - #### findLastPropertyName

          public static java.lang.String findLastPropertyName(java.lang.String expression)

      Find last property name in epxression. Returns null in case of problems.
      Example 1: "#{x.y.z}" => "z"
      Example 2: "#{x.y['z']}" => "z"
      Example 3: "#{x.y["z"]}" => "z"
      Example 3: "#{x.y[1]}" => "1"

Copyright © CaptainCasa Gmbh. All Rights Reserved.