Facilitates namespace handling together with IXmlWriter instances.
Inheritance Hierarchy
IXmlNamespaceManager
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.graphml.IXmlNamespaceManager
Properties
Gets a list of all namespace declarations that should be declared at the document's root element.
Methods
Register a local namespace/prefix mapping
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- nsUri - string
- The namespace URI
- prefix - string
- The preferred namespace prefix or
null
if any prefix may be used.
Returns
- ↪string
- The prefix that finally has been used for the namespace URI.