| Modifier and Type | Method and Description |
|---|---|
Path.Element |
PathFactory.createElement(Name name)
Creates a path element from the given
name. |
Path.Element |
PathFactory.createElement(Name name,
int index)
Same as
PathFactory.createElement(Name) except that an explicit index can be
specified. |
Path.Element |
PathFactory.createElement(String identifier)
Creates a path element from the given
identifier. |
Path.Element |
PathFactory.getCurrentElement()
Return the current element.
|
Path.Element[] |
Path.getElements()
Returns the elements of this path.
|
Path.Element |
Path.getNameElement()
Returns the name element (i.e. the last element) of this path.
|
Path.Element |
PathFactory.getParentElement()
Return the parent element.
|
Path.Element |
PathFactory.getRootElement()
Return the root element.
|
| Modifier and Type | Method and Description |
|---|---|
Path |
PathFactory.create(Path.Element element)
Creates a path from the given element.
|
Path |
PathFactory.create(Path.Element[] elements)
Create a new
Path from the given elements. |
Path |
Path.resolve(Path.Element element)
Resolves the given path element against this path.
|
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.