Class NodeTypeRegistry


  • public final class NodeTypeRegistry
    extends java.lang.Object
    BuiltInNodeTypes is a utility class that registers the built-in node types required for a JCR repository running on Oak.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void register​(Root root, java.io.InputStream input, java.lang.String systemId)
      Register the node type definitions contained in the specified input using the given Root.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • register

        public static void register​(Root root,
                                    java.io.InputStream input,
                                    java.lang.String systemId)
        Register the node type definitions contained in the specified input using the given Root.
        Parameters:
        root - The Root 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.