Directory groovy/groovy-core/src/main/groovy/xml/dom/

Directory Created:
2004-04-27 03:25
Total Files:
1
Deleted Files:
0
Lines of Code:
364

Browse with ViewVC

[root]/groovy/groovy-core/src/main/groovy/xml/dom

Lines of Code

groovy/groovy-core/src/main/groovy/xml/dom/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 14 (100.0%) 557 (100.0%) 39.7
paulk 13 (92.9%) 481 (86.4%) 37.0
spullara 1 (7.1%) 76 (13.6%) 76.0

Most Recent Commits

paulk 2007-01-02 15:26

fix for 'Ambiguous method overloading' bug

25 lines of code changed in:

paulk 2006-11-05 11:23

little XML tweaks

14 lines of code changed in:

paulk 2006-10-22 05:43

add '**' to DOMCategory and XmlParser

make children() in DOMCategory behave like XmlParser

Add depth/breadthFirst to DOMCategory

115 lines of code changed in:

paulk 2006-10-21 07:23

add '..' to DOMCategory and XmlParser

add '*' to XmlParser

7 lines of code changed in:

paulk 2006-10-20 23:13

begin rationalising XML test

11 lines of code changed in:

paulk 2006-10-18 11:31

tweak to try to make build more stable

5 lines of code changed in:

paulk 2006-10-18 04:00

Added attributes() to DOMCategory and fixed previous bug causing build problems

33 lines of code changed in:

paulk 2006-10-16 11:44

Added list() to DOMCategory

26 lines of code changed in:

paulk 2006-10-14 22:52

Fixed up error message text (copy and paste error)

2 lines of code changed in:

paulk 2006-10-14 09:57

GROOVY-1524 Further improvements and testcases for DOMCategory plus fixed up groovy.xml.dom.DOMTest

79 lines of code changed in:

paulk 2006-10-13 15:47

GROOVY-1524 Further improvements and testcases for DOMCategory

43 lines of code changed in:

paulk 2006-10-13 15:04

GROOVY-1524 Further improvements and testcases for DOMCategory

71 lines of code changed in:

paulk 2006-10-12 11:50

GROOVY-1524 Some additional DOM syntactic sugar

50 lines of code changed in:

spullara 2004-04-27 03:25

This adds support for reading XML documents into a DOM, manipulating them with GPath, and then writing the documents back out. Builders didn't support having attributes and content on a node, so that was added. Instead of adding the DOM methods DefaultGroovyMethods, I introduced a dynamic way to do this using a global "use" method. Simply call this method with a class similar in format to DefaultGroovyMethods to add new methods only for the current thread. It might be interesting to change the scope at a later date, but that is what it is now. I refer to these in the code as Categories, like obj-c and smalltalk do. You can see in DOMTest.groovy how they are used. I am disatisfied with the way toString(Object) and asIterator() work right now. I would like those to be broken out, instead of being a giant method. I think that some sort of conversion pipeline might be the way to do that. The changes to support Categories was limited to the Invoker and an addition global method.

76 lines of code changed in:

Generated by StatSVN 0.3.2-SNAPSHOT