|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.language.simple.AbstractSimpleLanguage
public abstract class AbstractSimpleLanguage
Abstract base class for Simple languages.
| Constructor Summary | |
|---|---|
AbstractSimpleLanguage()
|
|
| Method Summary | ||
|---|---|---|
protected Expression<Exchange> |
createComplexExpression(String expression)
|
|
protected Expression |
createConstantExpression(String expression,
int start,
int end)
|
|
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 |
|
protected abstract
|
createSimpleExpression(String expression)
Creates the simple expression based on the extracted content from the ${ } place holders |
|
protected String |
ifStartsWithReturnRemainder(String prefix,
String text)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractSimpleLanguage()
| Method Detail |
|---|
public Predicate<Exchange> createPredicate(String expression)
Language
createPredicate in interface Languageexpression - the expression
public Expression<Exchange> createExpression(String expression)
Language
createExpression in interface Languageexpression - the expression as a string input
protected Expression<Exchange> createComplexExpression(String expression)
protected Expression createConstantExpression(String expression,
int start,
int end)
protected abstract <E extends Exchange> Expression<Exchange> createSimpleExpression(String expression)
expression - the content between ${ and }
protected String ifStartsWithReturnRemainder(String prefix,
String text)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||