- create
Creates the path from given components. The components can contain objects of
various kinds: - QName
- equivalent
- toName
Returns a name corresponding to the name segment, or throw an exception
otherwise.
- isEmpty
Returns true if the path is null or empty.
- startsWithName
Returns true if the path starts with the specified name (approximate match).
- first
Returns the first segment or null if the path is empty.
- isName
Returns true if the segment is a name segment. Note that special segments
(parent, reference, identi
- isSubPathOrEquivalent
Check if current path is a subpath (prefix) of the other path or they are
equivalent.
- rest
- lastName
Returns the last name segment value; or null if there's no name segment.
- append
Returns a newly created path containing all the segments of this path with added
components.
- getSegments
Returns the path segments. Avoid using this method and access segments directly.
Instead try to find