ViewSerializer class.
View serializer class. Iterates over all controls and serializes all found views by calling the corresponding view type serializer.
new sap.ui.core.util.serializer.ViewSerializer(oRootControl, oWindow?, sDefaultXmlNamespace?)
Param | Type | Default Value | Description |
---|---|---|---|
oRootControl | sap.ui.core.Control sap.ui.core.UIArea | the root control 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 |
Method | Description |
---|---|
sap.ui.core.util.serializer.ViewSerializer.extend |
Creates a new subclass of class sap.ui.core.util.serializer.ViewSerializer with name
|
sap.ui.core.util.serializer.ViewSerializer.getMetadata |
Returns a metadata object for class sap.ui.core.util.serializer.ViewSerializer. |
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.
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 |