Class SimpleRepositoryFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      Repository getInstance​(org.w3c.dom.Element filter, java.util.Properties properties, org.w3c.dom.Element configuration, java.lang.String namespace)
      Create a resolver instance configured with given set of properties and repository-specific XML configuration.
      protected abstract Repository newInstance​(java.lang.String namespace, java.nio.file.Path root, org.w3c.dom.Element filter)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleRepositoryFactory

        SimpleRepositoryFactory()
    • Method Detail

      • newInstance

        protected abstract Repository newInstance​(java.lang.String namespace,
                                                  java.nio.file.Path root,
                                                  org.w3c.dom.Element filter)
      • getInstance

        public Repository getInstance​(org.w3c.dom.Element filter,
                                      java.util.Properties properties,
                                      org.w3c.dom.Element configuration,
                                      java.lang.String namespace)
        Description copied from interface: RepositoryFactory
        Create a resolver instance configured with given set of properties and repository-specific XML configuration.

        The meaning of properties and XML configuration is dependent on particular repository implementation.