API / geotoolkit / report / dom / persistence / Registry / Registry
persistence.Registry.Registry
The implementation of the default DOM serializer registry
↳
Registry
Constructors
Methods
▸ addSerializer(type, serializer): void
Add serializer
Throws
Error type is null
| Name | Type | Description |
|---|---|---|
type | string | type of the serializer |
serializer | ObjectSerializer | serializer |
void
▸ getClassName(): string
string
▸ getSerializer(type): ObjectSerializer
Return serializer for the specified type
| Name | Type | Description |
|---|---|---|
type | string | { getClassName: () => string } | serializer for the specified type |
▸ removeSerializer(type): void
Remove serializer
Throws
Error type is null
| Name | Type | Description |
|---|---|---|
type | string | type of the serializer |
void
▸ Static getClassName(): string
string
▸ Static getInstance(): Registry
Return instance of the default registry
registry