class sap.ui.core.util.serializer.XMLViewSerializer

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

XMLViewSerializer class.


Constructor

XML view serializer class. Serializes a given view.

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

the view to serialize

oWindow? object window

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

sDefaultXmlNamespace? string

defines the default XML namespace

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.XMLViewSerializer.extend

Creates a new subclass of class sap.ui.core.util.serializer.XMLViewSerializer 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.XMLViewSerializer.getMetadata

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

sap.ui.core.util.serializer.XMLViewSerializer.extend

Creates a new subclass of class sap.ui.core.util.serializer.XMLViewSerializer 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.XMLViewSerializer.getMetadata

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