|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.activemq.filter.function.replaceFunction
public class replaceFunction
Function which replaces regular expression matches in a source string to a replacement literal.
For Example: REPLACE('1,2/3', '[,/]', ';') returns '1;2;3'
| Constructor Summary | |
|---|---|
replaceFunction()
|
|
| Method Summary | |
|---|---|
Object |
evaluate(FunctionCallExpression expr,
MessageEvaluationContext message_ctx)
Evaluate the given expression for this function in the given context. |
boolean |
isValid(FunctionCallExpression expr)
Check whether the given expression is valid for this function. |
boolean |
returnsBoolean(FunctionCallExpression expr)
Indicate that this function does not return a boolean value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public replaceFunction()
| Method Detail |
|---|
public boolean isValid(FunctionCallExpression expr)
isValid in interface FilterFunctionexpr - - the expression consisting of a call to this function.
public boolean returnsBoolean(FunctionCallExpression expr)
returnsBoolean in interface FilterFunctionexpr - - the expression consisting of a call to this function.
public Object evaluate(FunctionCallExpression expr,
MessageEvaluationContext message_ctx)
throws javax.jms.JMSException
evaluate in interface FilterFunctionexpr - - the expression consisting of a call to this function.
javax.jms.JMSException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||