org.apache.camel.language.simple
Class SimpleLanguage

java.lang.Object
  extended by org.apache.camel.language.simple.AbstractSimpleLanguage
      extended by org.apache.camel.language.simple.SimpleLanguage
All Implemented Interfaces:
Language

public class SimpleLanguage
extends AbstractSimpleLanguage

A simple language which maps simple property style notations to access headers and bodies. Examples of supported expressions are:

Version:
$Revision: 1293 $

Constructor Summary
SimpleLanguage()
           
 
Method Summary
protected  Expression<Exchange> createSimpleExpression(String expression)
          Creates the simple expression based on the extracted content from the ${ } place holders
static Expression simple(String expression)
           
 
Methods inherited from class org.apache.camel.language.simple.AbstractSimpleLanguage
createComplexExpression, createConstantExpression, createExpression, createPredicate, ifStartsWithReturnRemainder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleLanguage

public SimpleLanguage()
Method Detail

simple

public static Expression simple(String expression)

createSimpleExpression

protected Expression<Exchange> createSimpleExpression(String expression)
Description copied from class: AbstractSimpleLanguage
Creates the simple expression based on the extracted content from the ${ } place holders

Specified by:
createSimpleExpression in class AbstractSimpleLanguage
Parameters:
expression - the content between ${ and }
Returns:
the expression


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