XPath3Function
instead@Deprecated public class JaxpXPathExpressionEvaluator extends AbstractExpressionEvaluator implements Initialisable, Disposable, MuleContextAware
xpath2:[type]/foo/bar
Where the type can either be boolean, string, number, node or nodeset.PHASE_NAME
PHASE_NAME
Constructor and Description |
---|
JaxpXPathExpressionEvaluator()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected XPathExpression |
createXPath(String expression)
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
|
MuleContext |
getMuleContext()
Deprecated.
|
String |
getName()
Deprecated.
Gets the name of the object
|
NamespaceManager |
getNamespaceManager()
Deprecated.
|
QName |
getReturnType()
Deprecated.
|
protected XPathExpression |
getXPath(String expression)
Deprecated.
|
void |
initialise()
Deprecated.
Method used to perform any initialisation work.
|
void |
setMuleContext(MuleContext context)
Deprecated.
|
void |
setNamespaceManager(NamespaceManager namespaceManager)
Deprecated.
|
void |
setReturnType(QName returnType)
Deprecated.
|
evaluateTyped
public String getName()
NamedObject
getName
in interface NamedObject
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 XPathExpression getXPath(String expression) throws XPathExpressionException
XPathExpressionException
protected XPathExpression createXPath(String expression) throws XPathExpressionException
XPathExpressionException
public void dispose()
dispose
in interface Disposable
public NamespaceManager getNamespaceManager()
public void setNamespaceManager(NamespaceManager namespaceManager)
public MuleContext getMuleContext()
public QName getReturnType()
public void setReturnType(QName returnType)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.