- All Superinterfaces:
Serializable
- All Known Subinterfaces:
TagPath
, TagPath
- All Known Implementing Classes:
AbstractTagPath
, AbstractTagPath
, BasicTagPath
, BasicTagPath
, PropertyAlteredTagPath
, PropertyAlteredTagPath
, QualifiedPath
, SimplifiedTagPath
, SimplifiedTagPath
, SourceAlteredTagPath
, SourceAlteredTagPath
, StringPath
, StringPath.CaseSensitiveStringPath
-
-
Method Summary
Convenience function to return the last path element.
Returns a path representing the element above the current path.
Returns the path element at the specified location.
int
Returns the number of elements in the path, which can be retrieved through getPathComponent().
boolean
Returns whether the provided path is a child path of this one.
-
Field Details
-
SERIALIZATION_WHITELIST
static final Set<Class<?>> SERIALIZATION_WHITELIST
-
Method Details
-
getPathLength
int getPathLength()
Returns the number of elements in the path, which can be retrieved through getPathComponent().
-
getPathComponent
String getPathComponent(int i)
Returns the path element at the specified location.
-
getLastPathComponent
Convenience function to return the last path element.
-
isAncestorOf
boolean isAncestorOf(Path path)
Returns whether the provided path is a child path of this one.
-
getParentPath
Returns a path representing the element above the current path.