public class XPathExpressionEvaluator extends ExpressionEvaluator
Constructor and Description |
---|
XPathExpressionEvaluator() |
Modifier and Type | Method and Description |
---|---|
String |
evaluate(Object information)
This method evaluates the supplied information to
derive and return a result.
|
Map<String,String> |
getNamespaces()
This method gets the map of prefixes to namespaces.
|
void |
init()
This method initializes the expression evaluator.
|
protected static boolean |
isNamespaceAware(Node node)
This method determines whether the node is namespace aware.
|
void |
setNamespaces(Map<String,String> namespaces)
This method sets the map of prefixes to namespaces.
|
close, getExpression, getOptional, setExpression, setOptional
public void setNamespaces(Map<String,String> namespaces)
namespaces
- The namespacespublic Map<String,String> getNamespaces()
public void init() throws Exception
init
in class ExpressionEvaluator
Exception
- Failed to initializepublic String evaluate(Object information)
evaluate
in class ExpressionEvaluator
information
- The informationprotected static boolean isNamespaceAware(Node node)
node
- The nodeCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.