org.mule.module.xml.expression
Class XPathExpressionEvaluator

java.lang.Object
  extended by org.mule.module.xml.expression.AbstractXPathExpressionEvaluator
      extended by org.mule.module.xml.expression.XPathExpressionEvaluator
All Implemented Interfaces:
MuleContextAware, ExpressionEvaluator, Disposable, NamedObject
Direct Known Subclasses:
XPathNodeExpressionEvaluator

public class XPathExpressionEvaluator
extends AbstractXPathExpressionEvaluator

Will select the text of a single node based on the property name


Field Summary
static String NAME
           
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Constructor Summary
XPathExpressionEvaluator()
           
 
Method Summary
protected  org.jaxen.XPath createXPath(String expression, Object object)
           
protected  Object extractResultFromNode(Object result)
           
 String getName()
          Gets the name of the object
 
Methods inherited from class org.mule.module.xml.expression.AbstractXPathExpressionEvaluator
addNamespaces, dispose, evaluate, extractResultsFromNodes, getMuleContext, getNamespaceManager, getXPath, setMuleContext, setName, setNamespaceManager
 
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
See Also:
Constant Field Values
Constructor Detail

XPathExpressionEvaluator

public XPathExpressionEvaluator()
Method Detail

createXPath

protected org.jaxen.XPath createXPath(String expression,
                                      Object object)
                               throws org.jaxen.JaxenException
Specified by:
createXPath in class AbstractXPathExpressionEvaluator
Throws:
org.jaxen.JaxenException

extractResultFromNode

protected Object extractResultFromNode(Object result)
Specified by:
extractResultFromNode in class AbstractXPathExpressionEvaluator

getName

public String getName()
Gets the name of the object

Returns:
the name of the object


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