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

Allow subclasses of XmlParser to customize creation of new Nodes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.6-rc-1, 1.7-beta-1
    • XML Processing
    • None
    • Patch

    Description

      This patch adds a new createNode() method to XmlParser to allow subclasses to customize the creation of new Nodes. This allows subclasses to store additional information in the node tree in a way that does not impact the memory footprint of the base implementation.

      Attachments

        1. createNode.diff
          3 kB
          Mike Dillon

        Issue Links

          Activity

            People

              paulk Paul King
              md5 Mike Dillon
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: