org.apache.camel.spi
Interface Language

All Known Implementing Classes:
AbstractSimpleLanguage, BeanLanguage, ConstantLanguage, FileLanguage, HeaderLanguage, SimpleLanguage, XPathLanguage

public interface Language

Represents a language to be used for Expression or Predicate instances

Version:
$Revision: 688279 $

Method Summary
 Expression<Exchange> createExpression(String expression)
          Creates an expression based on the given string input
 Predicate<Exchange> createPredicate(String expression)
          Creates a predicate based on the given string input
 

Method Detail

createPredicate

Predicate<Exchange> createPredicate(String expression)
Creates a predicate based on the given string input

Parameters:
expression - the expression
Returns:
the created predicate

createExpression

Expression<Exchange> createExpression(String expression)
Creates an expression based on the given string input

Parameters:
expression - the expression as a string input
Returns:
the created expression


Apache CAMEL