Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0-JSR-4
-
Fix Version/s: 1.5.2
-
Component/s: groovy-jdk, XML Processing
-
Labels:None
-
Number of attachments :
Description
org.w3c.dom.NodeList is supported with the object iteration methods (each, findAll, etc.)
However, a simple getAt(), setAt() is missing.
Maybe more List methods may be in order (e.g. size()).
org.w3c.dom.NamedNodeMap as returned by node.attributes should also be
accessible like a Map (getAt, putAt, get, ...)
the final goal would be to make org.w3c.dom.Node usages as easy as with groovy.util.Node.
DOMCategory.get and getAt should be aligned to return a NodeList for element calls