jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "nt:file" by JukkaZitting
Date Wed, 12 Apr 2006 19:19:36 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by JukkaZitting:
http://wiki.apache.org/jackrabbit/nt%3afile

New page:
JCR representation of a file.

== Definition ==

{{{
[nt:file] > nt:hierarchyNode
+ jcr:content primary mandatory
}}}

== Description ==

The ["nt:file"] node type represents a file with some content. The {{{jcr:created}}} property
inherited from ["nt:hierarchyNode"] contains the file creation time, while any other file
metadata and the file contents can be found in the {{{jcr:content}}} child node.

The {{{jcr:content}}} child node can be of any node type to allow maximum flexibility, but
the ["nt:resource"] node type is the common choice for {{{jcr:content}}} nodes.

== Related node types ==

 * ["nt:file"] is a ["nt:hierarchyNode"] subtype
 * ["nt:file"]s are usually child nodes of ["nt:folder"]
 * The {{{jcr:content}}} child node is allowed to be of any node type, but ["nt:resource"]
is the normal choice

== Comments and questions ==

Mime
View raw message