JBoss.orgCommunity Documentation

Chapter 20. Compact Node Type (CND) Sequencer

This sequencer processes JCR Compact Node Definition (CND) files to extract the node definitions with their property definitions, and inserts these into the repository using JCR built-in types. The node structure generated by this sequencer is equivalent to the node structure used in /jcr:system/jcr:nodeTypes.

This sequencer can be added to the repository configuration like so:

JcrConfiguration config = ...
config.sequencer("CND Sequencer")
      .setDescription("Sequences CND files to extract the node type definitions")