Class sap.ui.core.util.serializer.HTMLViewSerializerModule: sap/ui/core/util/serializer/HTMLViewSerializer
HTMLViewSerializer class.
Experimental API:Since 1.15.1. The HTMLViewSerializer is still under construction, so some implementation details can be changed in future.
Constructor Summary
new sap.ui.core.util.serializer.HTMLViewSerializer(oView, oWindow?, fnGetControlId, fnGetEventHandlerName)HTML view serializer class.
Method Summary
sap.ui.core.util.serializer.HTMLViewSerializer.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.core.util.serializer.HTMLViewSerializer with name
sClassName
and enriches it with the information contained in oClassInfo
.sap.ui.core.util.serializer.HTMLViewSerializer.getMetadata()Returns a metadata object for class sap.ui.core.util.serializer.HTMLViewSerializer.
Methods borrowed from class sap.ui.base.EventProvider
Methods borrowed from class sap.ui.base.Object
Constructor Detail
new sap.ui.core.util.serializer.HTMLViewSerializer(oView, oWindow?, fnGetControlId, fnGetEventHandlerName)
HTML view serializer class. Serializes a given view.
Parameters:
{sap.ui.core.mvc.HTMLView} | oView | the view to serialize |
{object} | oWindow?, Default: window | the window object. Default is the window object the instance of the serializer is running in |
{function} | fnGetControlId | delegate function which returns the control id |
{function} | fnGetEventHandlerName | delegate function which returns the event handler name |
Method Detail
sap.ui.core.util.serializer.HTMLViewSerializer.extend(sClassName, oClassInfo?, FNMetaImpl?): function
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.
Parameters:
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
Returns:
{function} | Created class / constructor function |
sap.ui.core.util.serializer.HTMLViewSerializer.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.core.util.serializer.HTMLViewSerializer.
Returns:
{sap.ui.base.Metadata} | Metadata object describing this class |