code: public Writer writeTo(final Writer out) throws IOException {
          final Iterator iter = nodeIterator();
          while (iter.hasNext()) {
              ((Node) iter.next()).writeTo(out);
          }
          return out;
      }
docs: /* (non-Javadoc)
  @see groovy.lang.Writable#writeTo(java.io.Writer)