|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.util.OgnlHelper
public final class OgnlHelper
Helper for Camel OGNL expressions.
| Method Summary | |
|---|---|
static boolean |
isInvalidValidOgnlExpression(String expression)
|
static boolean |
isNullSafeOperator(String ognlExpression)
Tests whether or not the given Camel OGNL expression is using the elvis operator or not. |
static KeyValueHolder<String,String> |
isOgnlIndex(String ognlExpression)
|
static boolean |
isValidOgnlExpression(String expression)
Tests whether or not the given String is a Camel OGNL expression. |
static String |
removeLeadingOperators(String ognlExpression)
Removes any leading operators from the Camel OGNL expression. |
static String |
removeOperators(String ognlExpression)
|
static String |
removeTrailingOperators(String ognlExpression)
Removes any trailing operators from the Camel OGNL expression. |
static List<String> |
splitOgnl(String ognl)
Regular expression with repeating groups is a pain to get right and then nobody understands the reg exp afterwards. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isValidOgnlExpression(String expression)
expression - the String
public static boolean isInvalidValidOgnlExpression(String expression)
public static boolean isNullSafeOperator(String ognlExpression)
ognlExpression - the Camel OGNL expression
public static String removeLeadingOperators(String ognlExpression)
ognlExpression - the Camel OGNL expression
public static String removeTrailingOperators(String ognlExpression)
ognlExpression - the Camel OGNL expression
public static String removeOperators(String ognlExpression)
public static KeyValueHolder<String,String> isOgnlIndex(String ognlExpression)
public static List<String> splitOgnl(String ognl)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||