Ok. Thanks for the library!!
I am attempting to run the example you've provided, but for some reason I'm encountering an error 'grabbing the Grapes' -- not a big deal, but I thought I'd pass the information along
Preparing to download artifact xml-apis#xml-apis;1.3.03!xml-apis.jar
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
General error during conversion: Error grabbing Grapes -- [download failed: org.codehaus.groovy#groovy-all;2.2.1!groovy-all.jar, download failed: asm#asm;3.2!asm.jar, download failed: xerces#xercesImpl;2.8.1!xercesImpl.jar, download failed: xml-apis#xml-apis;1.3.03!xml-apis.jar]
java.lang.RuntimeException: Error grabbing Grapes -- [download failed: org.codehaus.groovy#groovy-all;2.2.1!groovy-all.jar, download failed: asm#asm;3.2!asm.jar, download failed: xerces#xercesImpl;2.8.1!xercesImpl.jar, download failed: xml-apis#xml-apis;1.3.03!xml-apis.jar]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:71)
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)