org.apache.camel.language.constant
Class ConstantLanguage
java.lang.Object
org.apache.camel.language.constant.ConstantLanguage
- All Implemented Interfaces:
- Language
public class ConstantLanguage
- extends Object
- implements Language
A language for constant expressions.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstantLanguage
public ConstantLanguage()
constant
public static Expression<Exchange> constant(Object value)
createPredicate
public Predicate<Exchange> createPredicate(String expression)
- Description copied from interface:
Language
- Creates a predicate based on the given string input
- Specified by:
createPredicate
in interface Language
- Parameters:
expression
- the expression
- Returns:
- the created predicate
createExpression
public Expression<Exchange> createExpression(String expression)
- Description copied from interface:
Language
- Creates an expression based on the given string input
- Specified by:
createExpression
in interface Language
- Parameters:
expression
- the expression as a string input
- Returns:
- the created expression
Copyright © 2010 IONA Open Source Community. All Rights Reserved.