-
Notifications
You must be signed in to change notification settings - Fork 3
AttributesMap
do- edited this page Oct 13, 2022
·
16 revisions
AttributesMap is a Map descendant connected to XMLReader internals to process
const a = new AttributesMap (entityResolver = null, nsMap = null)
The set method is redefined so:
- zero length string value (
''
) is replaced bynull
(Oracle database style); -
entityResolver
is in use to transform the value (unless null); - if
nsMap
is not null and thekey
is'xmlns'
or starts with'xmlns:'
, the value is stored innsMap
instead of the current object.
If namespaceURI
is set, nsMap
is scanned for prefixes mapped to it, corresponding qualified names are constructed and used as lookup keys.
Returns the part of qName
after ':'
, or the whole qName
unless it contains ':'
. Proxy to XMLNode.getLocalName (qName).
Returns the namespace URI for this Qualified name. Proxy to NamespacesMap.getNamespaceURI (qName).