Serializer class.
Serializer class. Iterates over all controls and call a given serializer delegate.
new sap.ui.core.util.serializer.Serializer(oRootControl, serializeDelegate, bSkipRoot, fnSkipAggregations, fnSkipElement)
Param | Type | Default Value | Description |
---|---|---|---|
oRootControl | sap.ui.core.Control sap.ui.core.UIArea | the root control to serialize |
|
serializeDelegate | object | the serializer delegate. Has to implement start/middle/end methods. |
|
bSkipRoot | boolean | whether to skip the root node or not |
|
fnSkipAggregations | function | whether to skip aggregations |
|
fnSkipElement | function | whether to skip an element |
Method | Description |
---|---|
sap.ui.core.util.serializer.Serializer.extend |
Creates a new subclass of class sap.ui.core.util.serializer.Serializer with name
|
sap.ui.core.util.serializer.Serializer.getMetadata |
Returns a metadata object for class sap.ui.core.util.serializer.Serializer. |
Creates a new subclass of class sap.ui.core.util.serializer.Serializer 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 |