Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.api.expression
Interface ExpressionEvaluator

All Superinterfaces:
  NamedObject

All Known Implementing Classes:
  AbstractScriptExpressionEvaluator, AbstractXPathExpressionEvaluator, BeanPayloadExpressionEvaluator, CorrelationPropertiesExpressionEvaluator, EndpointInfoExpressionEvaluator, FunctionExpressionEvaluator, GroovyExpressionEvaluator, JsonExpressionEvaluator, JXPathExpressionEvaluator, MapPayloadExpressionEvaluator, MessageAttachmentExpressionEvaluator, MessageAttachmentsExpressionEvaluator, MessageAttachmentsListExpressionEvaluator, MessageExpressionEvaluator, MessageHeaderExpressionEvaluator, MessageHeadersExpressionEvaluator, MessageHeadersListExpressionEvaluator, MessagePayloadExpressionEvaluator, MuleContextExpressionEvaluator, MuleExpressionEvaluator, OgnlExpressionEvaluator, RegistryExpressionEvaluator, StringExpressionEvaluator, XPathExpressionEvaluator, XPathNodeExpressionEvaluator

    public interface ExpressionEvaluator

extends NamedObject

`ExpressionEvaluator` extracts a property from the message in a generic way. i.e. composite properties can be pulled and aggregated depending on this strategy. This can be used to extract Correlation Ids, Message Ids etc. These objects are used to execute property expressions (usually on the current message) at runtime to extracta dynamic value.

Method Summary
`Object` | `evaluate(String expression, MuleMessage message)` Extracts a single property from the message

Methods inherited from interface org.mule.api.NamedObject
`getName, setName`

Method Detail

### evaluate

    Object evaluate(String expression,
                    MuleMessage message)

  Extracts a single property from the message

  Parameters:
    `expression` - the property expression or expression
    `message` - the message to extract from
  Returns:
    the result of the extraction or null if the property was not found

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.