API / geotoolkit / persistence / UIRegistry / UIRegistry
persistence.UIRegistry.UIRegistry
The implementation of the default ui serializer registry. It used by autogenerated UI to get/apply properties to any Node.
Constructors
Methods
▸ addSerializer(type, serializer): UIRegistry
Add serializer
| Name | Type | Description |
|---|---|---|
type | string | type of the serializer |
serializer | any | serializer |
this
▸ getSerializer(type): any
Return serializer for the specified type
| Name | Type | Description |
|---|---|---|
type | string | { getClassName: () => string } | serializer for the specified type |
any
▸ removeSerializer(type): UIRegistry
Remove serializer
| Name | Type | Description |
|---|---|---|
type | string | type of the serializer |
this
▸ Static getInstance(): UIRegistry
Return instance of the default UIRegistry
UIRegistry