Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.6-rc-1, 1.7-beta-1
-
Component/s: XML Processing
-
Labels:None
-
Testcase included:yes
-
Patch Submitted:Yes
-
Number of attachments :
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
Issue Links
| This issue is related to: | ||||
| GROOVY-2414 | Extend XmlParser and Node to allow subclassing, permitting additional capabilities to reuse basic functionality |
|
|
|
| GROOVY-2415 | Add 1 argument constructor to groovy.util.Node, and corresponding groovy.util.XmlParser appendNode('someElementName') method |
|
|
|