org.apache.qpid.filter
Class PropertyExpression

java.lang.Object
  extended by org.apache.qpid.filter.PropertyExpression
All Implemented Interfaces:
Expression

public class PropertyExpression
extends Object
implements Expression

Represents a property expression


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

Constructor Detail

PropertyExpression

public PropertyExpression(String name)
Method Detail

evaluate

public Object evaluate(AbstractJMSMessage message)
                throws org.apache.qpid.AMQInternalException
Specified by:
evaluate in interface Expression
Parameters:
message - The message to evaluate
Returns:
the value of this expression
Throws:
org.apache.qpid.AMQInternalException

getName

public String getName()

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

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


Licensed to the Apache Software Foundation