Class LikeOperator
- java.lang.Object
-
- net.timewalker.ffmq4.common.message.selector.expression.SelectorNode
-
- net.timewalker.ffmq4.common.message.selector.expression.operator.AbstractBinaryOperator
-
- net.timewalker.ffmq4.common.message.selector.expression.operator.LikeOperator
-
- All Implemented Interfaces:
ConditionalExpression
- Direct Known Subclasses:
NotLikeOperator
public class LikeOperator extends AbstractBinaryOperator implements ConditionalExpression
LikeOperator
-
-
Field Summary
Fields Modifier and Type Field Description protected SelectorNodeescapeOperand-
Fields inherited from class net.timewalker.ffmq4.common.message.selector.expression.operator.AbstractBinaryOperator
leftOperand, rightOperand
-
-
Constructor Summary
Constructors Constructor Description LikeOperator(SelectorNode leftOperand, SelectorNode rightOperand, SelectorNode escapeOperand)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectevaluate(javax.jms.Message message)Evaluate the nodeStringtoString()-
Methods inherited from class net.timewalker.ffmq4.common.message.selector.expression.operator.AbstractBinaryOperator
leftOperand, rightOperand
-
Methods inherited from class net.timewalker.ffmq4.common.message.selector.expression.SelectorNode
evaluateBoolean, evaluateNumeric, evaluateString, getNodeType, negate, parenthesize
-
-
-
-
Field Detail
-
escapeOperand
protected SelectorNode escapeOperand
-
-
Constructor Detail
-
LikeOperator
public LikeOperator(SelectorNode leftOperand, SelectorNode rightOperand, SelectorNode escapeOperand) throws javax.jms.InvalidSelectorException
Constructor- Throws:
javax.jms.InvalidSelectorException
-
-
Method Detail
-
evaluate
public Object evaluate(javax.jms.Message message) throws javax.jms.JMSException
Description copied from class:SelectorNodeEvaluate the node- Specified by:
evaluatein classSelectorNode- Throws:
javax.jms.JMSException
-
-