Package org.apache.camel.model
Class ExpressionNodeHelper
- java.lang.Object
-
- org.apache.camel.model.ExpressionNodeHelper
-
public final class ExpressionNodeHelper extends Object
Helper forExpressionNode
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExpressionDefinitiontoExpressionDefinition(org.apache.camel.Expression expression)Determines whichExpressionDefinitiondescribes the given expression best possible.static ExpressionDefinitiontoExpressionDefinition(org.apache.camel.Predicate predicate)Determines whichExpressionDefinitiondescribes the given predicate best possible.
-
-
-
Method Detail
-
toExpressionDefinition
public static ExpressionDefinition toExpressionDefinition(org.apache.camel.Expression expression)
Determines whichExpressionDefinitiondescribes the given expression best possible. This implementation will use types such asSimpleExpression,XPathExpressionetc. if the given expression is detect as such a type.- Parameters:
expression- the expression- Returns:
- a definition which describes the expression
-
toExpressionDefinition
public static ExpressionDefinition toExpressionDefinition(org.apache.camel.Predicate predicate)
Determines whichExpressionDefinitiondescribes the given predicate best possible. This implementation will use types such asSimpleExpression,XPathExpressionetc. if the given predicate is detect as such a type.- Parameters:
predicate- the predicate- Returns:
- a definition which describes the predicate
-
-