Class NodeTypeRegistry
java.lang.Object
org.apache.jackrabbit.oak.plugins.nodetype.write.NodeTypeRegistry
BuiltInNodeTypes
is a utility class that registers the built-in
node types required for a JCR repository running on Oak.-
Method Summary
Modifier and TypeMethodDescriptionstatic void
register
(Root root, InputStream input, String systemId) Register the node type definitions contained in the specifiedinput
using the givenRoot
.
-
Method Details
-
register
Register the node type definitions contained in the specifiedinput
using the givenRoot
.- Parameters:
root
- TheRoot
to register the node types.input
- The input stream containing the node type defintions to be registered.systemId
- An informative id of the given input.
-