The Resource is also an to get adapters to
other types. A JCR based resource might support adapting to the JCR Node on
which the resource is based.
org.apache.sling.api.adapter.Adaptable
ResourceResolver instances to mark a resource which could not
actually be resolved.
ResourceResolver is free to set this to any suitable value such
as the primary node type of the JCR node from which the resource is
created.
If the resource instance represents a resource which is not actually
existing, this method returns the RESOURCE_TYPE_NON_EXISTING.
null
if the getResourceType() has no supertype.
ResourceMetadata object returned is implementation specific
except for the ResourceMetadata property which is
required to be set to the part of the request URI used to resolve the
resource.
ResourceMetadata