Class Interpreter
- java.lang.Object
-
- org.objectweb.joram.shared.selectors.Interpreter
-
class Interpreter extends Object
TheInterpreterclass is used for interpreting selector queries.
-
-
Constructor Summary
Constructors Constructor Description Interpreter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static Objectinterpret(String name, Message message, String syntaxType)Calls the appropriate method for interpreting a field name according to the syntax type.private static ObjectjmsInterpret(String name, Message message)Retrieves the value of a field following the JMS syntax rules.static StringwrapToString(Object value)Gets the String value of the given object.
-
-
-
Method Detail
-
interpret
static Object interpret(String name, Message message, String syntaxType)
Calls the appropriate method for interpreting a field name according to the syntax type.Method called by the
org.objectweb.joram.shared.selectors.Filterclass.- Parameters:
name- Name of a field to retrieve.message- Message in which retrieving the field.syntaxType- Type of the syntax; ex: "JMS".
-
wrapToString
public static String wrapToString(Object value)
Gets the String value of the given object.
-
-