Java org.dom4j XPath fields, constructors, methods, implement or subclass

Example usage for Java org.dom4j XPath fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.dom4j XPath.

The text is from its open source code.

Method

booleanbooleanValueOf(Object context)
Retrieve a boolean-value interpretation of this XPath expression when evaluated against a given context.
Objectevaluate(Object context)
evaluate evaluates an XPath expression and returns the result as an Object .
StringgetText()
getText will return the textual version of the XPath expression.
booleanmatches(Node node)
matches returns true if the given node matches the XPath expression.
ListselectNodes(Object context)
selectNodes performs this XPath expression on the given Node or List of Node s instances appending all the results together into a single list.
ListselectNodes(Object context, XPath sortXPath)
selectNodes evaluates the XPath expression on the given Node or List of Node s and returns the result as a List of Node s sorted by the sort XPath expression.
NodeselectSingleNode(Object context)
selectSingleNode evaluates this XPath expression on the given Node or List of Node s and returns the result as a single Node instance.
voidsetFunctionContext(FunctionContext functionContext)
Sets the function context to be used when evaluating XPath expressions
voidsetNamespaceContext(NamespaceContext namespaceContext)
Sets the namespace context to be used when evaluating XPath expressions
voidsetNamespaceURIs(Map map)
Sets the current NamespaceContext from a Map where the keys are the String namespace prefixes and the values are the namespace URIs.
voidsetVariableContext(VariableContext variableContext)
Sets the variable context to be used when evaluating XPath expressions
StringvalueOf(Object context)
valueOf evaluates this XPath expression and returns the textual representation of the results using the XPath string() function.