org.codehaus.activemq.filter
Class ConstantExpression
java.lang.Object
org.codehaus.activemq.filter.ConstantExpression
- All Implemented Interfaces:
- Expression
- public class ConstantExpression
- extends Object
- implements Expression
Represents a constant expression
- Version:
- $Revision: 1.4 $
Field Summary |
static org.codehaus.activemq.filter.ConstantExpression.BooleanConstantExpression |
FALSE
|
static org.codehaus.activemq.filter.ConstantExpression.BooleanConstantExpression |
NULL
|
static org.codehaus.activemq.filter.ConstantExpression.BooleanConstantExpression |
TRUE
|
NULL
public static final org.codehaus.activemq.filter.ConstantExpression.BooleanConstantExpression NULL
TRUE
public static final org.codehaus.activemq.filter.ConstantExpression.BooleanConstantExpression TRUE
FALSE
public static final org.codehaus.activemq.filter.ConstantExpression.BooleanConstantExpression FALSE
ConstantExpression
public ConstantExpression(Object value)
createFromDecimal
public static ConstantExpression createFromDecimal(String text)
createFromHex
public static ConstantExpression createFromHex(String text)
createFromOctal
public static ConstantExpression createFromOctal(String text)
createFloat
public static ConstantExpression createFloat(String text)
evaluate
public Object evaluate(Message message)
throws JMSException
- Specified by:
evaluate
in interface Expression
- Returns:
- the value of this expression
- Throws:
JMSException
getValue
public Object getValue()
toString
public String toString()
- See Also:
Object.toString()
hashCode
public int hashCode()
- TODO: more efficient hashCode()
- See Also:
Object.hashCode()
equals
public boolean equals(Object o)
- TODO: more efficient hashCode()
- See Also:
Object.equals(java.lang.Object)
Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.