org.mule.module.xml.expression
Class JXPathExpressionEvaluator

java.lang.Object
  extended by org.mule.module.xml.expression.JXPathExpressionEvaluator
All Implemented Interfaces:
MuleContextAware, ExpressionEvaluator, NamedObject

Deprecated. Developers should use xpath, bean or groovy instead of this expression evaluator since there are some quirks with JXPath and the performance is not good.

@Deprecated
public class JXPathExpressionEvaluator
extends Object
implements ExpressionEvaluator, MuleContextAware

Will extract properties based on Xpath expressions. Will work on Xml/Dom and beans


Field Summary
protected  org.apache.commons.logging.Log logger
          Deprecated. logger used by this class
protected  MuleContext muleContext
          Deprecated.  
static String NAME
          Deprecated.  
 
Constructor Summary
JXPathExpressionEvaluator()
          Deprecated.  
 
Method Summary
protected  void addNamespacesToContext(NamespaceManager manager, org.apache.commons.jxpath.JXPathContext context)
          Deprecated.  
 Object evaluate(String expression, MuleMessage message)
          Deprecated.  
 String getName()
          Deprecated. 
protected  NamespaceManager getNamespaceManager()
          Deprecated.  
 void setMuleContext(MuleContext context)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
Deprecated. 
See Also:
Constant Field Values

logger

protected transient org.apache.commons.logging.Log logger
Deprecated. 
logger used by this class


muleContext

protected transient MuleContext muleContext
Deprecated. 
Constructor Detail

JXPathExpressionEvaluator

public JXPathExpressionEvaluator()
Deprecated. 
Method Detail

setMuleContext

public void setMuleContext(MuleContext context)
Deprecated. 
Specified by:
setMuleContext in interface MuleContextAware

evaluate

public Object evaluate(String expression,
                       MuleMessage message)
Deprecated. 
Specified by:
evaluate in interface ExpressionEvaluator

addNamespacesToContext

protected void addNamespacesToContext(NamespaceManager manager,
                                      org.apache.commons.jxpath.JXPathContext context)
Deprecated. 

getName

public String getName()
Deprecated. 

Specified by:
getName in interface NamedObject

getNamespaceManager

protected NamespaceManager getNamespaceManager()
Deprecated. 
Returns:
the nsmespace manager from the registry


Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.