|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.module.xml.expression.JXPathExpressionEvaluator
public class JXPathExpressionEvaluator
Will extract properties based on Xpath expressions. Will work on Xml/Dom and beans
Field Summary | |
---|---|
protected Log |
logger
logger used by this class |
static String |
NAME
|
Constructor Summary | |
---|---|
JXPathExpressionEvaluator()
|
Method Summary | |
---|---|
Object |
evaluate(String name,
Object message)
Extracts a single property from the message |
String |
getName()
Gts the name of the object |
void |
setName(String name)
Sets the name of the object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NAME
protected transient Log logger
Constructor Detail |
---|
public JXPathExpressionEvaluator()
Method Detail |
---|
public Object evaluate(String name, Object message)
ExpressionEvaluator
evaluate
in interface ExpressionEvaluator
name
- the property expression or expressionmessage
- the message to extract from
public String getName()
getName
in interface NamedObject
public void setName(String name)
setName
in interface NamedObject
name
- the name of the object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |