| Modifier and Type | Method and Description |
|---|---|
Path |
Path.computeRelativePath(Path other)
Computes the relative path from
this absolute path to
other. |
Path |
PathFactory.create(Name name)
Creates a relative path based on a
Name. |
Path |
PathFactory.create(Name name,
int index)
Creates a relative path based on a
Name and a normalized index. |
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 |
PathFactory.create(Path parent,
Name name,
boolean normalize)
Creates a new
Path out of the given parent path
and the give name. |
Path |
PathFactory.create(Path parent,
Name name,
int index,
boolean normalize)
Creates a new
Path out of the given parent path
and the give name and normalized index. |
Path |
PathFactory.create(Path parent,
Path relPath,
boolean normalize)
Return a new
Path out of the given parent path
and the given relative path. |
Path |
PathFactory.create(String pathString)
Returns a
Path holding the value of the specified
string. |
Path |
Path.getAncestor(int degree)
Normalizes this path and returns the ancestor path of the specified
relative degree.
|
Path |
Path.getCanonicalPath()
Returns the canonical path representation of this path.
|
Path |
Path.getFirstElements()
Returns a path that consists of all but the last element of this path.
|
Path |
Path.getLastElement()
Returns a path that consists of only the last element of this path.
|
Path |
Path.getNormalizedPath()
Returns the normalized path representation of this path.
|
Path |
QValue.getPath()
Returns a
Path representation of this value. |
Path |
ItemInfo.getPath()
Returns the
Path of the item represented by this
ItemInfo. |
Path |
ItemId.getPath() |
Path |
Event.getPath() |
Path |
PathFactory.getRootPath()
Return the
Path of the root node. |
Path |
Path.resolve(Path.Element element)
Resolves the given path element against this path.
|
Path |
Path.resolve(Path relative)
Resolves the given path against this path.
|
Path |
Path.subPath(int from,
int to)
Returns a new
Path consisting of those Path.Element objects
between the given from, inclusive, and the given to,
exclusive. |
| Modifier and Type | Method and Description |
|---|---|
Path |
Path.computeRelativePath(Path other)
Computes the relative path from
this absolute path to
other. |
QValue |
QValueFactory.create(Path value)
Create a new
QValue with type PropertyType.PATH. |
Path |
PathFactory.create(Path parent,
Name name,
boolean normalize)
Creates a new
Path out of the given parent path
and the give name. |
Path |
PathFactory.create(Path parent,
Name name,
int index,
boolean normalize)
Creates a new
Path out of the given parent path
and the give name and normalized index. |
Path |
PathFactory.create(Path parent,
Path relPath,
boolean normalize)
Return a new
Path out of the given parent path
and the given relative path. |
EventFilter |
RepositoryService.createEventFilter(SessionInfo sessionInfo,
int eventTypes,
Path absPath,
boolean isDeep,
String[] uuid,
Name[] nodeTypeName,
boolean noLocal)
Creates an event filter.
|
NodeId |
IdFactory.createNodeId(NodeId parentId,
Path path)
Creates a new
NodeId from the given parent id and
the given Path object. |
NodeId |
IdFactory.createNodeId(String uniqueID,
Path path)
Creates a new
NodeId from the given unique id (which identifies
an ancestor Node) and the given Path object. |
boolean |
Path.isAncestorOf(Path other)
Determines if this path is an ancestor of the specified path,
based on their (absolute or relative) hierarchy level as returned by
. |
boolean |
Path.isDescendantOf(Path other)
Determines if this path is a descendant of the specified path,
based on their (absolute or relative) hierarchy level as returned by
. |
boolean |
Path.isEquivalentTo(Path other)
Determines if the the
other path would be equal to this
path if both of them are normalized. |
Path |
Path.resolve(Path relative)
Resolves the given path against this path.
|
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.