The Artima Developer Community
Sponsored Link

Java Buzz Forum
Groovy Builder Tutorial

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Max Zone

Posts: 9170
Nickname: dzone
Registered: Jun, 2006

dzone.com is a link-sharing community where member participation determines what gets published
Groovy Builder Tutorial Posted: Mar 27, 2007 9:04 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Max Zone.
Original Post: Groovy Builder Tutorial
Feed Title: dzone.com: java
Feed URL: http://feeds.dzone.com/dzone/java
Feed Description: dzone.com: fresh java links for developers
Latest Java Buzz Posts
Latest Java Buzz Posts by Max Zone
Latest Posts From dzone.com: java

Advertisement
This tutorial describes how to create a custom Groovy builder class similar to those provided by the Groovy Development Kit (GDK) such as MarkupBuilder or SwingBuilder. These builder classes get their name from the GoF Builder pattern in that they are used to create complex objects. The MarkupBuilder for example, can create an XML document. What makes MakupBuilder interesting is how it does so, by using Groovy's metaprogramming and closure functionality so that a method invoked on the builder becomes a tag name in the xml and named parameters become the tag's attributes.

Read: Groovy Builder Tutorial

Topic: JsonMarshaller: JSON Serialisation for Java 5 Previous Topic   Next Topic Topic: Glassfish to become modularised

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use