Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-1183

improve the org.w3c.dom.Node support with List and Map methods

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0-JSR-4
    • 1.5.2
    • groovy-jdk, XML Processing
    • None

    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.

      Attachments

        Activity

          People

            paulk Paul King
            codevise Dierk König
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: