Renamed Registry -> GenericRegistry to make it clear that this registry does
[core.git] / framework / main / classes / factories / xml / class_XmlTemplateEngineFactory.php
index 2b82f60a0b7b1b2ff24ddd550df14f6e6d09e244..7c544b6887ce58a402fd064a4ef7e230dbcae8ec 100644 (file)
@@ -1,10 +1,10 @@
 <?php
 // Own namespace
-namespace CoreFramework\Factory\Template;
+namespace Org\Mxchange\CoreFramework\Factory\Template;
 
 // Import framework stuff
-use CoreFramework\Factory\ObjectFactory;
-use CoreFramework\Registry\Registry;
+use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
+use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 
 /**
  * A factory class for XML template engines. All instances generated by this
@@ -51,15 +51,15 @@ class XmlTemplateEngineFactory extends ObjectFactory {
         */
        public static final function createXmlTemplateEngineInstance ($configEntry) {
                // Do we have an instance in the registry?
-               if (Registry::getRegistry()->instanceExists($configEntry)) {
+               if (GenericRegistry::getRegistry()->instanceExists($configEntry)) {
                        // Then use this instance
-                       $templateInstance = Registry::getRegistry()->getInstance($configEntry);
+                       $templateInstance = GenericRegistry::getRegistry()->getInstance($configEntry);
                } else {
                        // Now prepare the tags instance
                        $templateInstance = ObjectFactory::createObjectByConfiguredName($configEntry);
 
                        // Disable language support
-                       $templateInstance->enableLanguageSupport(FALSE);
+                       $templateInstance->enableLanguageSupport(false);
 
                        /*
                         * Enable compacting/rewriting of the  XML to save bandwidth from XML