|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
NodeDefinitions.
See:
Description
| Interface Summary | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NodeDefinitionTemplate | A template that can be used to create new child node definitions, patterned after the approach in the proposed | NodeTypeDefinition | An interface for an existing node type definition, patterned after the approach in the proposed | NodeTypeTemplate | A template that can be used to create new node types, patterned after the approach in the proposed | PropertyDefinitionTemplate | A template that can be used to create new property definitions, patterned after the approach in the proposed
|
Exception Summary |
InvalidNodeTypeDefinitionException |
Exception representing that a node type definition is somehow invalid |
NodeTypeExistsException |
An exception that captures the error condition that a referenced node type already exists. |
| |
The ModeShape specification for programmatically creating JCR NodeDefinitions.
To use, simply obtain the JCR NodeTypeManager from the workspace
and cast to a JcrNodeTypeManager. That object can then be used to create new
node definition templates,
node type templates,
and property definition templates,
and to then register the new node types.
This design is patterned after the similar funcationality in the JCR 2.0 Public Final Draft (PFD), and will eventually be migrated to implement the specification when ModeShape supports the final JCR 2.0 final specification.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||