org.apache.camel.language.ognl
Class OgnlExpression

java.lang.Object
  extended by org.apache.camel.impl.ExpressionSupport<org.apache.camel.Exchange>
      extended by org.apache.camel.language.ognl.OgnlExpression
All Implemented Interfaces:
org.apache.camel.Expression<org.apache.camel.Exchange>, org.apache.camel.Predicate<org.apache.camel.Exchange>

public class OgnlExpression
extends org.apache.camel.impl.ExpressionSupport<org.apache.camel.Exchange>

An OGNL Expression

Version:
$Revision: 36507 $

Constructor Summary
OgnlExpression(OgnlLanguage language, String expressionString, Class<?> type)
           
 
Method Summary
protected  String assertionFailureMessage(org.apache.camel.Exchange exchange)
           
 Object evaluate(org.apache.camel.Exchange exchange)
           
static OgnlExpression ognl(String expression)
           
 
Methods inherited from class org.apache.camel.impl.ExpressionSupport
assertMatches, matches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OgnlExpression

public OgnlExpression(OgnlLanguage language,
                      String expressionString,
                      Class<?> type)
Method Detail

ognl

public static OgnlExpression ognl(String expression)

evaluate

public Object evaluate(org.apache.camel.Exchange exchange)

assertionFailureMessage

protected String assertionFailureMessage(org.apache.camel.Exchange exchange)
Specified by:
assertionFailureMessage in class org.apache.camel.impl.ExpressionSupport<org.apache.camel.Exchange>


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