Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Real World Example for Builder Patter

 
Nuwan Arambage
Ranch Hand
Posts: 76
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have already understood the concepts behind the builder pattern
But I want to know real word example that uses the builder pattern

 
Marcin Majewski
Greenhorn
Posts: 14
IntelliJ IDE Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Builder pattern is a good choice when the construction of a particular object is a complex task, and you want to have a controll over each step of this construction process. The real world example could be ie. a creation of a XML file. You can define severial methods to add new nodes, set its subelements, attributes etc..
 
Muhammad Khojaye
Ranch Hand
Posts: 449
IntelliJ IDE Java Scala
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check out this real world example here.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic