From d6e6c329806602d12403a6add5d67ef9fe2ecd1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilkka=20Sepp=C3=A4l=C3=A4?= Date: Tue, 24 Feb 2015 22:39:51 +0200 Subject: [PATCH] Added real world example of Abstract Factory. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 5c33b4552dca..b4b0e766232f 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,9 @@ * a family of related product objects is designed to be used together, and you need to enforce this constraint * you want to provide a class library of products, and you want to reveal just their interfaces, not their implementations +**Real world examples:** +* [javax.xml.parsers.DocumentBuilderFactory](http://docs.oracle.com/javase/6/docs/api/javax/xml/parsers/DocumentBuilderFactory.html) + ## Builder [↑](#list-of-design-patterns) **Intent:** Separate the construction of a complex object from its representation so that the same construction process can create different representations.