Class sap.ui.core.util.serializer.ViewSerializerModule: sap/ui/core/util/serializer/ViewSerializer
extends EventProvider
ViewSerializer class.
Experimental API:Since 1.15.1. The ViewSerializer is still under construction, so some implementation details can be changed in future.
Constructor Summary
new sap.ui.core.util.serializer.ViewSerializer(oRootControl, oWindow?, sDefaultXmlNamespace?)View serializer class.
Method Summary
sap.ui.core.util.serializer.ViewSerializer.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.core.util.serializer.ViewSerializer with name 
sClassName and enriches it with the information contained in oClassInfo.sap.ui.core.util.serializer.ViewSerializer.getMetadata()Returns a metadata object for class sap.ui.core.util.serializer.ViewSerializer.
Methods borrowed from class sap.ui.base.EventProvider
Methods borrowed from class sap.ui.base.Object
 Constructor Detail 
 new sap.ui.core.util.serializer.ViewSerializer(oRootControl, oWindow?, sDefaultXmlNamespace?) 
 View serializer class. Iterates over all controls and serializes all found views by calling the corresponding view type serializer. 
Parameters:
| {sap.ui.core.Control|sap.ui.core.UIArea} | oRootControl | the root control 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 | 
 Method Detail 
 sap.ui.core.util.serializer.ViewSerializer.extend(sClassName, oClassInfo?, FNMetaImpl?): function
 Creates a new subclass of class sap.ui.core.util.serializer.ViewSerializer 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.ViewSerializer.getMetadata(): sap.ui.base.Metadata
 Returns a metadata object for class sap.ui.core.util.serializer.ViewSerializer. 
Returns:
| {sap.ui.base.Metadata} | Metadata object describing this class |