class sap.ui.core.util.serializer.HTMLViewSerializer

Visiblity: restricted
UX Guidelines:
Implements:
Available since: N/A
Module: sap/ui/core/util/serializer/HTMLViewSerializer
Application Component: CA-UI5-COR

HTMLViewSerializer class.


Constructor

HTML view serializer class. Serializes a given view.

new sap.ui.core.util.serializer.HTMLViewSerializer(oView, oWindow?, fnGetControlId, fnGetEventHandlerName)
Param Type Default Value Description
oView sap.ui.core.mvc.HTMLView

the view to serialize

oWindow? object window

the window object. Default is the window object the instance of the serializer is running in

fnGetControlId function

delegate function which returns the control id

fnGetEventHandlerName function

delegate function which returns the event handler name


Methods Overview

Method Description
sap.ui.core.util.serializer.HTMLViewSerializer.extend

Creates a new subclass of class sap.ui.core.util.serializer.HTMLViewSerializer with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.ui.base.EventProvider.extend.

sap.ui.core.util.serializer.HTMLViewSerializer.getMetadata

Returns a metadata object for class sap.ui.core.util.serializer.HTMLViewSerializer.

sap.ui.core.util.serializer.HTMLViewSerializer.extend

Creates a new subclass of class sap.ui.core.util.serializer.HTMLViewSerializer with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.ui.base.EventProvider.extend.

Param Type DefaultValue Description
sClassName string

Name of the class being created

oClassInfo object

Object literal with information about the class

FNMetaImpl function

Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class

sap.ui.core.util.serializer.HTMLViewSerializer.getMetadata

Returns a metadata object for class sap.ui.core.util.serializer.HTMLViewSerializer.