org.activemq.filter
Class PropertyExpression

java.lang.Object
  extended byorg.activemq.filter.PropertyExpression
All Implemented Interfaces:
Expression

public class PropertyExpression
extends java.lang.Object
implements Expression

Represents a property expression

Version:
$Revision: 1.1.1.1 $

Constructor Summary
PropertyExpression(java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.Object evaluate(javax.jms.Message message)
           
 java.lang.String getName()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyExpression

public PropertyExpression(java.lang.String name)
Method Detail

evaluate

public java.lang.Object evaluate(javax.jms.Message message)
                          throws javax.jms.JMSException
Specified by:
evaluate in interface Expression
Returns:
the value of this expression
Throws:
javax.jms.JMSException

getName

public java.lang.String getName()

toString

public java.lang.String toString()
See Also:
Object.toString()

hashCode

public int hashCode()
See Also:
Object.hashCode()

equals

public boolean equals(java.lang.Object o)
See Also:
Object.equals(java.lang.Object)


Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.