Deprecated
Objects implementing the ASNamedObjectMap interface are used
to represent collections of abstract schema nodes that can be accessed by
name. Note that ASNamedObjectMap does not inherit from
ASObjectList; ASNamedObjectMaps are not
maintained in any particular order. Objects contained in an object
implementing ASNamedObjectMap may also be accessed by an
ordinal index, but this is simply to allow convenient enumeration of the
contents of a ASNamedObjectMap, and does not imply that the
DOM specifies an order to these ASObjects.
ASNamedObjectMap object in the DOM are live.
See also the Document Object Model (DOM) Level 3 Abstract Schemas and Load and Save Specification.
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public ASObject | Returns: AnASObject with specified node name and
null if the map does not contain an element with the
given name.The name)nodeName of an ASObject to
retrieve.
Deprecated
as a consequence of
Retrieves an ASObject being deprecated.
ASObject specified by name.
|
| public ASObject | Returns: AASObject (of any type) with the specified local
name and namespace URI, or null if they do not
identify any ASObject in this map.The namespace URI of the namespaceURI, String ASObject to
retrieve.The local name of the localName)ASObject to
retrieve.
Deprecated
as a consequence of
Retrieves an ASObject being deprecated.
ASObject specified by local name and
namespace URI.
|
| public ASObject | |
| public ASObject | Returns: TheASObject removed from this map if an
ASObject with such a name exists.The name)nodeName of the ASObject to
be removed.
Deprecated
as a consequence of
Removes an ASObject being deprecated.
ASObject specified by a nodeName.
|
| public ASObject | Returns: TheASObject removed from this map if an
ASObject with such a local name and namespace URI
exists.The namespace URI of the namespaceURI, String ASObject to
be removed.The local name of the localName)ASObject to remove.
Deprecated
as a consequence of
Removes an ASObject being deprecated.
ASObject specified by a namespace URI and a
local name.
|
| public ASObject | Returns: If the new node replaces an existing one, the replaced node is returned, otherwisenull.The newASObject)ASObject to be inserted in the map
with its nodeName as the key.
Deprecated
as a consequence of
Adds an ASObject being deprecated.
ASObject using its nodeName
attribute.
|
| public ASObject | Returns: If the new node replaces an existing one, the replaced node is returned, otherwisenull.The newASObject)ASObject to be inserted in the
map.The ASObject will later be accessible using the
value of its namespaceURI and localName
attributes.
Deprecated
as a consequence of
Adds an ASObject being deprecated.
ASObject using its namespaceURI and
localName.
|
| getLength | back to summary |
|---|---|
| public int getLength() The number of | |
| getNamedItem | back to summary |
|---|---|
| public ASObject getNamedItem(String name)
Deprecated as a consequence of Retrieves an | |
| getNamedItemNS | back to summary |
|---|---|
| public ASObject getNamedItemNS(String namespaceURI, String localName)
Deprecated as a consequence of Retrieves an | |
| item | back to summary |
|---|---|
| public ASObject item(int index)
Deprecated as a consequence of Returns the
| |
| removeNamedItem | back to summary |
|---|---|
| public ASObject removeNamedItem(String name) throws DOMException
Deprecated as a consequence of Removes an
| |
| removeNamedItemNS | back to summary |
|---|---|
| public ASObject removeNamedItemNS(String namespaceURI, String localName) throws DOMException
Deprecated as a consequence of Removes an
| |
| setNamedItem | back to summary |
|---|---|
| public ASObject setNamedItem(ASObject newASObject) throws DOMException
Deprecated as a consequence of Adds an
| |
| setNamedItemNS | back to summary |
|---|---|
| public ASObject setNamedItemNS(ASObject newASObject) throws DOMException
Deprecated as a consequence of Adds an
| |