Create a Namespace Manager.
Protected
_elemNamespace element type list. If the element type is empty, the entire type is allowed.
Readonly
_listNamespace element list.
Readonly
countTotal number of Namespace elements.
Set whether to allow duplicate element registration. Default is 'false' and does not allow duplication.
Protected
_getSerialize the Namespace repository as a string. You can specify a separate stringify function for JSON serialization.
Optional
stringify: FunctionJSON stringify function. Default is 'JSON.stringify'.
Optional
space: stringA blank string to apply to the JSON string.
serialized string.
Classes that manage the namespaces. This class provides the ability to add or delete namespaces and manage elements. It also provides serialization and deserialization of the namespace repository.