public class PathToSpEL extends Object
| Constructor and Description |
|---|
PathToSpEL() |
| Modifier and Type | Method and Description |
|---|---|
static Expression |
pathToExpression(String path)
Converts a patch path to an
Expression. |
static Expression |
pathToParentExpression(String path)
Produces an expression targeting the parent of the object that the given path targets.
|
static Expression |
spelToExpression(String spel)
Convenience method to convert a SpEL String to an
Expression. |
public static Expression pathToExpression(String path)
Expression.path - the patch path to convert.Expressionpublic static Expression spelToExpression(String spel)
Expression.spel - the SpEL expression as a StringExpressionpublic static Expression pathToParentExpression(String path)
path - the path to find a parent expression for.Expression targeting the parent of the object specified by path.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.