Skip to content

Commit d6e6c32

Browse files
committed
Added real world example of Abstract Factory.
1 parent 032ab69 commit d6e6c32

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@
4949
* a family of related product objects is designed to be used together, and you need to enforce this constraint
5050
* you want to provide a class library of products, and you want to reveal just their interfaces, not their implementations
5151

52+
**Real world examples:**
53+
* [javax.xml.parsers.DocumentBuilderFactory](http://docs.oracle.com/javase/6/docs/api/javax/xml/parsers/DocumentBuilderFactory.html)
54+
5255
## <a name="builder">Builder</a> [&#8593;](#list-of-design-patterns)
5356
**Intent:** Separate the construction of a complex object from its representation so that the same construction process can create different representations.
5457

0 commit comments

Comments
 (0)