Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package org.modeshape.jcr.nodetype

The ModeShape specification for programmatically creating JCR `NodeDefinition`s.

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.

## Package org.modeshape.jcr.nodetype Description

The ModeShape specification for programmatically creating JCR `NodeDefinition`s. 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.