org.apache.camel.language.simple
Class SimpleBackwardsCompatibleParser

java.lang.Object
  extended by org.apache.camel.language.simple.SimpleBackwardsCompatibleParser

Deprecated. will be removed in Camel 3.0

@Deprecated
public final class SimpleBackwardsCompatibleParser
extends Object

A backwards compatible parser, which supports the old simple language syntax by which simple functions can be given without using start and end tokens.

For example "body" would be parsed as the body function, where as the new parser would require that to be entered as "${body}".

This parser is to be removed when the old syntax is no longer supported.


Method Summary
static Expression parseExpression(String expression, boolean allowEscape)
          Deprecated.  
static Predicate parsePredicate(String expression, boolean allowEscape)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parseExpression

public static Expression parseExpression(String expression,
                                         boolean allowEscape)
Deprecated. 

parsePredicate

public static Predicate parsePredicate(String expression,
                                       boolean allowEscape)
Deprecated. 


Apache Camel