<p>Getter for the field <code>viewRenderer</code>.</p>

@return a {@link com.atlassian.confluence.content.render.xhtml.Renderer} object.
768136
public Renderer getViewRenderer() {
        if (viewRenderer != null) {
            return viewRenderer;
        }
        viewRenderer = (Renderer) ContainerManager.getComponent("viewRenderer");
        return viewRenderer;
    }
1220217
@Bean(name = "standardRenderingPipeline")
    public IPortalRenderingPipeline getStandardRenderingPipeline() {
        final DynamicRenderingPipeline rslt = new DynamicRenderingPipeline();
        rslt.setPipeline(getAnalyticsIncorporationComponent());
        return rslt;
    }
730399
public WikiStyleRenderer getWikiStyleRenderer() {
        if (wikiStyleRenderer != null) {
            return wikiStyleRenderer;
        }
        wikiStyleRenderer = (WikiStyleRenderer) ContainerManager.getComponent("wikiStyleRenderer");
        return wikiStyleRenderer;
    }
750300
FieldBuilder getFieldBuilder(Element element) {
        FieldBuilder fieldBuilder = new FieldBuilder(messager, element);
        fieldBuilder.setBindingManager(this);
        return fieldBuilder;
    }
1038785
public static final Renderer<Double> instance() { // NOPMD it's thread save!
    if (CurrencyDoubleRenderer.instanceRenderer == null) {
      synchronized (CurrencyDoubleRenderer.class) {
        if (CurrencyDoubleRenderer.instanceRenderer == null) {
          CurrencyDoubleRenderer.instanceRenderer = new CurrencyDoubleRenderer();
        }
      }
    }
    return CurrencyDoubleRenderer.instanceRenderer;
  }
855564
private function getPriceRenderer()
    {
        if (null === $this->priceRenderer) {
            /** @var \Magento\Framework\View\LayoutInterface $layout */
            $layout = $this->objectManager->get('\Magento\Framework\View\LayoutInterface');
            $layout->getUpdate()->addHandle('default');
            $priceRenderer = $layout->getBlock('product.price.render.default');

            if (!$priceRenderer) {
                $priceRenderer = $layout->createBlock(
                    'Magento\Framework\Pricing\Render',
                    'product.price.render.default',
                    ['data' => ['price_render_handle' => 'catalog_product_prices']]
                );
            }

            $this->priceRenderer = $priceRenderer;
        }

        return $this->priceRenderer;
    }
715553
private Class<? extends WComponent> getRowRendererClass() {
		UIContext uic = UIContextHolder.getCurrent();

		if (table.getDataModel() instanceof TreeTableDataModel && uic instanceof SubUIContext) {
			int row = getRowIndex((SubUIContext) uic);
			TreeTableDataModel dataModel = (TreeTableDataModel) table.getDataModel();

			TableTreeNode node = dataModel.getNodeAtLine(row);
			return node.getRendererClass();
		}

		return null;
	}
2978
public function _getDatafieldRenderer()
    {
        $this->datafieldRenderer = $this->getLayout()->createBlock(
            \Dotdigitalgroup\Email\Block\Adminhtml\Config\Select::class,
            '',
            ['data' => ['is_render_to_js_template' => true]]
        );

        return $this->datafieldRenderer;
    }
1287068
public static <R extends Renderer<?, ?>> RendererBeanDescriptor<R> ofRenderer(final Class<R> rendererClass) {
        return new AnnotationBasedRendererBeanDescriptor<>(rendererClass);
    }
203466
protected NewRenderBuilder render(){
        String template = RouterHelper.getReverseRouteFast(getClass()) + "/" + getRoute().getActionName();
        return internalRender(template);
    }
730131
public static final Renderer<BigDecimal> instance() { // NOPMD it's thread save!
    if (CurrencyBigDecimalRenderer.instanceRenderer == null) {
      synchronized (CurrencyBigDecimalRenderer.class) {
        if (CurrencyBigDecimalRenderer.instanceRenderer == null) {
          CurrencyBigDecimalRenderer.instanceRenderer = new CurrencyBigDecimalRenderer();
        }
      }
    }
    return CurrencyBigDecimalRenderer.instanceRenderer;
  }
1105745
private Class<? extends WComponent> getRowRendererClass() {
		RowIdWrapper wrapper = getCurrentRowIdWrapper();
		if (wrapper != null) {
			return table.getTableModel().getRendererClass(wrapper.getRowIndex());
		}
		return null;
	}
856335
@Override
	public LayerRenderer getRenderer() {
		if (renderer == null) {
			renderer = new DomTileLevelLayerRenderer(viewPort, this, eventBus) {

				@Override
				public TileLevelRenderer createNewScaleRenderer(int tileLevel, View view, HtmlContainer container) {
					return new DomTileLevelRenderer(AbstractTileBasedLayer.this, tileLevel, viewPort, container,
							getTileRenderer());
				}
			};
		}
		return renderer;
	}
536705
public function getRenderer($type = self::PHP, $config = [])
    {
        $type = strtolower($type);

        $class = sprintf('Windwalker\Core\Renderer\%sRenderer', ucfirst($type));

        if (!class_exists($class)) {
            $class = sprintf('Windwalker\Renderer\%sRenderer', ucfirst($type));
        }

        if (!class_exists($class)) {
            throw new \DomainException(sprintf('%s renderer not supported.', $type));
        }

        if ($type === 'blade') {
            if (empty($config['cache_path'])) {
                $config['cache_path'] = $this->config->get('path.cache') . '/renderer';
            }
        }

        if ($type === 'edge') {
            if (empty($config['cache_path']) && !isset($config['cache'])) {
                $config['cache_path'] = $this->config->get('path.cache') . '/renderer';
            }
        }

        if ($type === 'twig') {
            if (empty($config['path_separator'])) {
                $config['path_separator'] = '.';
            }
        }

        /** @var AbstractRenderer|CoreRendererInterface|GlobalVarsTrait $renderer */
        $renderer = new $class(static::getGlobalPaths(), $config);

        $renderer->setPackageFinder($this->finder);
        $renderer->setGlobals($this->getGlobals());

        return $renderer;
    }
913346
protected String __internalRender() {
        __internalBuild();
        if (__hasParent()) {
            __parent.__setLayoutContent(toString());
            __parent.addAllLayoutSections(layoutSections);
            __parent.addAllRenderProperties(renderProperties);
            __parent.__setRenderArgs(__renderArgs);
            //__parent.__renderArgs.putAll(__renderArgs);
            return __parent.render();
        } else {
            return toString();
        }
    }
200637
private IHtmlToPdfTransformer getTransformer(final Map properties) {
		try {
			mutex.acquire();
			IHtmlToPdfTransformer transformer	    = null;
			String				  rendererClassName = IHtmlToPdfTransformer.DEFAULT_PDF_RENDERER;
	
			if ((properties != null) &&
					properties.containsKey(
						IHtmlToPdfTransformer.PDF_RENDERER_CLASS)) {
				rendererClassName = (String) properties.get(IHtmlToPdfTransformer.PDF_RENDERER_CLASS);
			} // end if
	
			if (transformers.containsKey(rendererClassName)) {
				transformer = (IHtmlToPdfTransformer) transformers.get(rendererClassName);
			} // end if
			else {
				ClassLoader bootStrap = this.useClassLoader ? CClassLoader.getLoader("/main") : this.getClass().getClassLoader();
	
				try {
					ClassLoader cx = Thread.currentThread().getContextClassLoader();
					try {
						Thread.currentThread().setContextClassLoader(this.useClassLoader ? CClassLoader.getRootLoader() : this.getClass().getClassLoader());
						transformer = (IHtmlToPdfTransformer) bootStrap.loadClass(rendererClassName)
																		   .newInstance();
						transformers.put(rendererClassName, transformer);
					}
					finally {
						Thread.currentThread().setContextClassLoader(cx);
					}
				} // end try
				catch (final Exception e) {
					e.printStackTrace();
					System.err.println(
						"SEVERE: Error while getting transformer '" +
						rendererClassName + "' ! : "+e.getMessage());
	
					return null;
				} // end catch
			} // end else
	
			return transformer;
		}
		finally {
			try {
				mutex.release();
			} // end try
			catch (final Exception e) {}
		} // end finally
		
	}
1032701
public static final TreeRenderer getInstance(String className)
    {
        TreeRenderer renderer = null;
        if (className != null) {
            className = className.trim();

            // create an instance of the def template formatter class
            ClassLoader cl = DiscoveryUtils.getClassLoader();
            try {
                Class rendererClass = cl.loadClass(className);
                if (!TreeRenderer.class.isAssignableFrom(rendererClass)) {
                    _log.error("The tree renderer class, " + className
                            + ", does not extend TreeRenderer.");
                }
                else {
                    renderer = (TreeRenderer) rendererClass.newInstance();
                }
            }
            catch ( ClassNotFoundException e ) {
                _log.error( "Could not find TreeRenderer class " + className, e );
            }
            catch (InstantiationException e) {
                _log.error( "Could not instantiate TreeRenderer class " + className, e );
            }
            catch (IllegalAccessException e) {
                _log.error( "Could not instantiate TreeRenderer class " + className, e );
            }
        }
        return renderer;
    }