|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.servicemix.expression.ExpressionHelper
public final class ExpressionHelper
A helper class for working with expressions.
Method Summary | |
---|---|
static java.lang.String |
asString(Expression expression,
javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.NormalizedMessage message,
java.lang.String defaultValue)
Evaluates the given expression as a string value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String asString(Expression expression, javax.jbi.messaging.MessageExchange exchange, javax.jbi.messaging.NormalizedMessage message, java.lang.String defaultValue) throws javax.jbi.messaging.MessagingException
expression
- the expression to evaluateexchange
- the current exchangemessage
- the current messagedefaultValue
- the default value to use if the expression is null or the value of the expression is null
javax.jbi.messaging.MessagingException
- if the expression failed to be evaluated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |