Java org.jdom2.xpath XPath fields, constructors, methods, implement or subclass

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

Introduction

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

The text is from its open source code.

Method

voidaddNamespace(String prefix, String uri)
Adds a namespace definition (prefix and URI) to the list of namespaces known of this XPath expression.
XPathnewInstance(String path)
Creates a new XPath wrapper object, compiling the specified XPath expression.
ListselectNodes(Object context)
Evaluates the wrapped XPath expression and returns the list of selected items.
ObjectselectSingleNode(Object context, String path)
Evaluates the wrapped XPath expression and returns the first entry in the list of selected nodes (or atomics).
ObjectselectSingleNode(Object context)
Evaluates the wrapped XPath expression and returns the first entry in the list of selected nodes (or atomics).