Class: Path

Path(path)

Designator that points to an element in a DOM tree based on an XPath expression.

Constructor

new Path(path)

Hierarchy

Creates a new instance of the designator.
Parameters:
Name Type Description
path String A string containing an XPath expression
Source:

Extends

Methods

Extracts the designator at the head of a composition. For designators that are atomic, returns the designator itself.
Overrides:
Source:

tail()

Extracts the designator made of the tail of a composition. For designators that are atomic, returns null.
Overrides:
Source: