XPath3Function
instead@Deprecated public abstract class AbstractXPathExpressionEvaluator extends AbstractExpressionEvaluator implements Initialisable, Disposable, MuleContextAware
PHASE_NAME
PHASE_NAME
Constructor and Description |
---|
AbstractXPathExpressionEvaluator()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addNamespaces(NamespaceManager manager,
org.jaxen.XPath xpath)
Deprecated.
|
protected abstract org.jaxen.XPath |
createXPath(String expression,
Object object)
Deprecated.
|
void |
dispose()
Deprecated.
A lifecycle method where implementor should free up any resources.
|
Object |
evaluate(String expression,
MuleMessage message)
Deprecated.
Extracts a single property from the message
|
protected abstract Object |
extractResultFromNode(Object result)
Deprecated.
|
protected List<?> |
extractResultsFromNodes(List<?> results)
Deprecated.
|
protected abstract String |
getDeprecationMessage()
Deprecated.
|
MuleContext |
getMuleContext()
Deprecated.
|
NamespaceManager |
getNamespaceManager()
Deprecated.
|
protected Object |
getPayloadForXPath(MuleMessage message)
Deprecated.
|
protected org.jaxen.XPath |
getXPath(String expression,
Object object)
Deprecated.
|
protected String |
getXPathClassName(Object object)
Deprecated.
|
void |
initialise()
Deprecated.
Method used to perform any initialisation work.
|
void |
inject()
Deprecated.
|
void |
setMuleContext(MuleContext context)
Deprecated.
|
void |
setNamespaceManager(NamespaceManager namespaceManager)
Deprecated.
|
evaluateTyped
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public AbstractXPathExpressionEvaluator()
protected abstract String getDeprecationMessage()
public void setMuleContext(MuleContext context)
setMuleContext
in interface MuleContextAware
public void initialise() throws InitialisationException
Initialisable
InitialisationException
should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException
should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.initialise
in interface Initialisable
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownRecoverableException
- if an error occurs that can be recovered frompublic Object evaluate(String expression, MuleMessage message)
evaluate
in interface ExpressionEvaluator
expression
- the property expression or expressionmessage
- the message to extract fromprotected Object getPayloadForXPath(MuleMessage message) throws TransformerException
TransformerException
protected void addNamespaces(NamespaceManager manager, org.jaxen.XPath xpath)
protected org.jaxen.XPath getXPath(String expression, Object object) throws org.jaxen.JaxenException
org.jaxen.JaxenException
protected abstract org.jaxen.XPath createXPath(String expression, Object object) throws org.jaxen.JaxenException
org.jaxen.JaxenException
public void dispose()
dispose
in interface Disposable
public NamespaceManager getNamespaceManager()
public void setNamespaceManager(NamespaceManager namespaceManager)
public MuleContext getMuleContext()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.