Class CatalogResolver.CatalogManager

    • Field Summary

      • Fields inherited from class org.apache.xml.resolver.CatalogManager

        debug
    • Constructor Summary

      Constructors 
      Constructor Description
      CatalogManager()  
    • Method Detail

      • setFileSystem

        public void setFileSystem​(FileSystem fileSystem)
        Sets the FileSystem
        Parameters:
        fileSystem - The FileSystem in use.
      • setBaseDir

        public void setBaseDir​(String baseDir)
        Sets the base directory.
        Parameters:
        baseDir - The base directory.
      • getBaseDir

        public String getBaseDir()
        Gets the base directory.
        Returns:
        The base directory.
      • setInterpolator

        public void setInterpolator​(ConfigurationInterpolator configurationInterpolator)
        Sets the ConfigurationInterpolator.
        Parameters:
        configurationInterpolator - the ConfigurationInterpolator.
      • getPrivateCatalog

        public org.apache.xml.resolver.Catalog getPrivateCatalog()
        Gets a new catalog instance. This method is only overridden because xml-resolver might be in a parent ClassLoader and will be incapable of loading our Catalog implementation. This method always returns a new instance of the underlying catalog class.
        Overrides:
        getPrivateCatalog in class org.apache.xml.resolver.CatalogManager
        Returns:
        the Catalog.
      • getCatalog

        public org.apache.xml.resolver.Catalog getCatalog()
        Gets a catalog instance. If this manager uses static catalogs, the same static catalog will always be returned. Otherwise a new catalog will be returned.
        Overrides:
        getCatalog in class org.apache.xml.resolver.CatalogManager
        Returns:
        The Catalog.