Class NamedNodeMapImpl
java.lang.Object
org.loboevolution.js.AbstractScriptableDelegate
org.loboevolution.html.dom.nodeimpl.NamedNodeMapImpl
- All Implemented Interfaces:
NamedNodeMap
,ScriptableDelegate
NamedNodeMapImpl class.
-
Constructor Summary
ConstructorDescriptionNamedNodeMapImpl
(Node owner, NodeListImpl attribs) Constructor for NamedNodeMapImpl. -
Method Summary
Modifier and TypeMethodDescriptionint
getLength.getNamedItem
(String name) getNamedItem.getNamedItemNS
(String namespaceURI, String localName) getNamedItemNS.item
(int index) item.removeNamedItem
(String name) removeNamedItem.removeNamedItemNS
(String namespaceURI, String localName) removeNamedItemNS.setNamedItem
(Node node) setNamedItem.setNamedItemNS
(Node node) setNamedItemNS.toString()
Methods inherited from class org.loboevolution.js.AbstractScriptableDelegate
getScriptable, setScriptable
-
Constructor Details
-
NamedNodeMapImpl
Constructor for NamedNodeMapImpl.
- Parameters:
owner
- aNode
object.attribs
- aNodeListImpl
object.
-
-
Method Details
-
getLength
public int getLength()getLength.
- Specified by:
getLength
in interfaceNamedNodeMap
- Returns:
- a
Integer
object.
-
getNamedItem
getNamedItem.
- Specified by:
getNamedItem
in interfaceNamedNodeMap
- Parameters:
name
- aString
object.- Returns:
- a
Attr
object.
-
getNamedItemNS
getNamedItemNS.
- Specified by:
getNamedItemNS
in interfaceNamedNodeMap
- Parameters:
namespaceURI
- aString
object.localName
- aString
object.- Returns:
- a
Attr
object.
-
item
item.
- Specified by:
item
in interfaceNamedNodeMap
- Parameters:
index
- aInteger
object.- Returns:
- a
Attr
object.
-
removeNamedItem
removeNamedItem.
- Specified by:
removeNamedItem
in interfaceNamedNodeMap
- Parameters:
name
- aString
object.- Returns:
- a
Attr
object. - Throws:
DOMException
-
removeNamedItemNS
removeNamedItemNS.
- Specified by:
removeNamedItemNS
in interfaceNamedNodeMap
- Parameters:
namespaceURI
- aString
object.localName
- aString
object.- Returns:
- a
Attr
object. - Throws:
DOMException
-
setNamedItem
setNamedItem.
- Specified by:
setNamedItem
in interfaceNamedNodeMap
- Parameters:
node
- aAttr
object.- Returns:
- a
Attr
object.
-
setNamedItemNS
setNamedItemNS.
- Specified by:
setNamedItemNS
in interfaceNamedNodeMap
- Parameters:
node
- aAttr
object.- Returns:
- a
Attr
object. - Throws:
DOMException
-
getAttributes
-
toString
-