path,
which is normalized by normalize(java.lang.String) before resolving the
parent.
path The path whose parent is to be returned.null if path is the root path (/)
or if path is a single name containing no slash (/)
characters.java.lang.IllegalArgumentException If the path cannot be normalized by the
normalize(java.lang.String) method.java.lang.NullPointerException If path is null.java.lang.NullPointerException If rsrc is null.java.lang.NullPointerException If rsrc is null.path, which
is normalized by normalize(java.lang.String) before resolving the name.
path The path whose name (the last path element) is to be
returned.path is the root path (/)
or if path is a single name containing no slash (/)
characters.java.lang.IllegalArgumentException If the path cannot be normalized by the
normalize(java.lang.String) method.java.lang.NullPointerException If path is null.true if the resource res is a
synthetic resource.
This method checks whether the resource is an instance of the
org.apache.sling.resource.SyntheticResource class.
res The Resource to check whether it is a synthetic
resource.true if res is a synthetic
resource. false is returned if res
is null or not an instance of the
org.apache.sling.resource.SyntheticResource class.true if the resource res is a "star
resource". A star resource is a resource returned from the
ResourceResolver.resolve(HttpServletRequest) whose path
terminates in a /*. Generally such resource result from
requests to something like /some/path/* or
/some/path/*.html which may be used web applications to
uniformly handle resources to be created.
This method checks whether the resource path ends with a /*
indicating such a star resource.
res The Resource to check whether it is a star
resource.true if res is to be considered a
star resource.java.lang.NullPointerException if res is null.true if the resource res is a
non-existing resource.
This method checks the resource type of the resource to match the
well-known resource type sling:nonexisting of the
NonExistingResource class defined in the Sling API.
res The Resource to check whether it is a
non-existing resource.true if res is to be considered a
non-existing resource.java.lang.NullPointerException if res is null.