Binary resource.
Definition
[nt:resource] > mix:referenceable - jcr:encoding (STRING) - jcr:mimeType (STRING) mandatory - jcr:data (BINARY) mandatory primary - jcr:lastModified (DATE) mandatory IGNORE
Description
An nt:resource child node is normally used instead of a plain binary property when more resource metadata is required.
The jcr:mimeType
property specifies the content type of the resource, and the optional jcr:encoding
specifies the character encoding of text-based content types.
The resource content is stored as a binary stream in the jcr:data
property that is also the primary property of the node. The jcr:lastModified
should be updated whenever the resource is modified.
Related node types
- nt:resource is often used as the
jcr:content
child of a file node - All nt:resource nodes are referenceable