aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes design pattern for Strings to Objects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "design pattern for Strings to Objects" Watch "design pattern for Strings to Objects" New topic
Author

design pattern for Strings to Objects

manu chaox
Ranch Hand

Joined: Apr 10, 2006
Posts: 110
Hi guys,

I am looking for a design pattern for a situation where I have to create a Widget(DateBox, Label,...) according to a configuration Strings as a input parameter. In the configuration strings there are information about type of widget, size etc.
Do you know a suitable design pattern for this purpose ?

Thank you for a help.
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
Factory Method or Abstract Factory.
 
wood burning stoves
 
subject: design pattern for Strings to Objects