Class TemplateBuilderFactory

    • Constructor Detail

      • TemplateBuilderFactory

        public TemplateBuilderFactory​(javax.jcr.nodetype.NodeTypeManager nodeTypeManager,
                                      javax.jcr.ValueFactory valueFactory,
                                      javax.jcr.NamespaceRegistry namespaceRegistry)
      • TemplateBuilderFactory

        public TemplateBuilderFactory​(javax.jcr.Session session)
                               throws javax.jcr.RepositoryException
        Creates a new TemplateBuilderFactory for the specified Session. This is equivalent to TemplateBuilderFactory(NodeTypeManager, ValueFactory, NamespaceRegistry) where all parameters are obtained from the given session object and the workspace associated with it.
        Parameters:
        session - The repository session.
        Throws:
        javax.jcr.RepositoryException - If an error occurs.