public abstract class

AbstractExpressionEvaluator

extends Object
java.lang.Object
   ↳ org.mule.module.linkedin.processors.AbstractExpressionEvaluator
Known Direct Subclasses
Known Indirect Subclasses

Summary

Public Constructors
AbstractExpressionEvaluator()
Protected Methods
void computeClassHierarchy(Class clazz, List classes)
Get all superclasses and interfaces recursively.
Object evaluate(TemplateParser.PatternInfo patternInfo, ExpressionManager expressionManager, MuleMessage muleMessage, Object source)
Object evaluateAndTransform(MuleContext muleContext, MuleEvent event, Type expectedType, String expectedMimeType, Object source)
boolean isAssignableFrom(Type expectedType, Class clazz)
boolean isList(Type type)
boolean isListClass(Class clazz)
Checks whether the specified class parameter is an instance of List
boolean isMap(Type type)
boolean isMapClass(Class clazz)
Checks whether the specified class parameter is an instance of Map
Object transform(MuleContext muleContext, MuleEvent event, Type expectedType, String expectedMimeType, Object source)
Object transform(MuleMessage muleMessage, Type expectedType, Object source)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AbstractExpressionEvaluator ()

Protected Methods

protected void computeClassHierarchy (Class clazz, List classes)

Get all superclasses and interfaces recursively.

Parameters
clazz The class to start the search with.
classes List of classes to which to add all found super classes and interfaces.

protected Object evaluate (TemplateParser.PatternInfo patternInfo, ExpressionManager expressionManager, MuleMessage muleMessage, Object source)

Parameters
patternInfo
expressionManager
muleMessage
source

protected Object evaluateAndTransform (MuleContext muleContext, MuleEvent event, Type expectedType, String expectedMimeType, Object source)

Parameters
muleContext
event
expectedType
expectedMimeType
source
Throws
TransformerException
TransformerMessagingException

protected boolean isAssignableFrom (Type expectedType, Class clazz)

Parameters
expectedType
clazz

protected boolean isList (Type type)

Parameters
type

protected boolean isListClass (Class clazz)

Checks whether the specified class parameter is an instance of List

Parameters
clazz Class to check.

protected boolean isMap (Type type)

Parameters
type

protected boolean isMapClass (Class clazz)

Checks whether the specified class parameter is an instance of Map

Parameters
clazz Class to check.

protected Object transform (MuleContext muleContext, MuleEvent event, Type expectedType, String expectedMimeType, Object source)

Parameters
muleContext
event
expectedType
expectedMimeType
source
Throws
TransformerException
TransformerMessagingException

protected Object transform (MuleMessage muleMessage, Type expectedType, Object source)

Parameters
muleMessage
expectedType
source
Throws
TransformerException