org.apache.camel.language.constant
Class ConstantLanguage

java.lang.Object
  extended by org.apache.camel.language.constant.ConstantLanguage
All Implemented Interfaces:
Language

public class ConstantLanguage
extends Object
implements Language

A language for constant expressions.


Constructor Summary
ConstantLanguage()
           
 
Method Summary
static Expression<Exchange> constant(Object value)
           
 Expression<Exchange> createExpression(String expression)
           
 Predicate<Exchange> createPredicate(String expression)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantLanguage

public ConstantLanguage()
Method Detail

constant

public static Expression<Exchange> constant(Object value)

createPredicate

public Predicate<Exchange> createPredicate(String expression)
Specified by:
createPredicate in interface Language

createExpression

public Expression<Exchange> createExpression(String expression)
Specified by:
createExpression in interface Language


Copyright © 2008 IONA Open Source Community. All Rights Reserved.