Class sap.ui.core.util.serializer.XMLViewSerializerModule: sap/ui/core/util/serializer/XMLViewSerializer


XMLViewSerializer class.

Experimental API:Since 1.15.1. The XMLViewSerializer is still under construction, so some implementation details can be changed in future.

Constructor Summary
new sap.ui.core.util.serializer.XMLViewSerializer(oView, oWindow?, sDefaultXmlNamespace?, fnGetControlId, fnGetEventHandlerName)XML view serializer class.
Method Summary
sap.ui.core.util.serializer.XMLViewSerializer.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.core.util.serializer.XMLViewSerializer with name sClassName and enriches it with the information contained in oClassInfo.
sap.ui.core.util.serializer.XMLViewSerializer.getMetadata()Returns a metadata object for class sap.ui.core.util.serializer.XMLViewSerializer.
Methods borrowed from class sap.ui.base.Object
Constructor Detail
new sap.ui.core.util.serializer.XMLViewSerializer(oView, oWindow?, sDefaultXmlNamespace?, fnGetControlId, fnGetEventHandlerName)
XML view serializer class. Serializes a given view.
Parameters:
{sap.ui.core.mvc.XMLView}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
{string}sDefaultXmlNamespace? defines the default XML namespace
{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.XMLViewSerializer.extend(sClassName, oClassInfo?, FNMetaImpl?): function
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.

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.XMLViewSerializer.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.core.util.serializer.XMLViewSerializer.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class