Skip to main content

Class: PageRendererFactory

Defined in: packages/react-page-renderer/src/renderer/PageRendererFactory.ts:7

Factory for page render.

Constructors​

Constructor​

new PageRendererFactory(componentUtils): PageRendererFactory

Defined in: packages/react-page-renderer/src/renderer/PageRendererFactory.ts:15

Initializes the factory used by the page renderer.

Parameters​

componentUtils​

ComponentUtils

The registry of component utilities.

Returns​

PageRendererFactory

Methods​

getDocumentView()​

getDocumentView(documentView): ComponentType

Defined in: packages/react-page-renderer/src/renderer/PageRendererFactory.ts:40

Returns the class constructor of the specified document view component. Document view may be specified as a namespace path or as a class constructor.

Parameters​

documentView​

ComponentType

The namespace path pointing to the document view component, or the constructor of the document view component.

Returns​

ComponentType

The constructor of the document view component.


getManagedRootView()​

getManagedRootView(managedRootView): ComponentType

Defined in: packages/react-page-renderer/src/renderer/PageRendererFactory.ts:71

Returns the class constructor of the specified managed root view component. Managed root view may be specified as a namespace path or as a class constructor.

Parameters​

managedRootView​

ComponentType

The namespace path pointing to the managed root view component, or the constructor of the React component.

Returns​

ComponentType

The constructor of the managed root view component.


getUtils()​

getUtils(): Utils

Defined in: packages/react-page-renderer/src/renderer/PageRendererFactory.ts:25

Return object of services which are defined for alias $Utils.

Returns​

Utils