Abstract
Checks if the given container would contain the given identifier. This does not check that either of these identifiers actually exist. This is similar to calling getParentContainer on an identifier and comparing the result.
If transitive
is false
this only checks if container
is the direct parent container of identifier
.
Generates the identifier of the container this resource would be a member of. This does not check if that identifier actually exists. Will throw an error if the input identifier is a root container or is not supported.
Abstract
isChecks if the input corresponds to the identifier of a root container. This does not check if this identifier actually exists.
Abstract
supportsVerifies if this identifier is supported. This does not check if this identifier actually exists, but checks if the identifier is in scope for this class.
Provides a default implementation for
getParentContainer
which checks if the identifier is supported and not a root container. If not, the last part before the first relevant slash will be removed to find the parent.Provides a default implementation for
contains
which does standard slash-semantics based string comparison.