In this case, you may use different kinds of objects. If you have two rendering classes, HtmlRenderer and WmlRenderer, and
If you want your application to transparently use the correct client based on which type it is connected to, you can simply do this by using Factory
Design patterns are implemented.