Modular library
From APIDesign
(Difference between revisions)
Line 1: | Line 1: | ||
- | In contrast to [[simple library]], the modular | + | In contrast to [[simple library]], the modular [[library]] is ready for being extended. It contains [[API]], but often it requires (or allows) someone else to provide useful implementation. Classical example can be javax.xml.DocumentBuilderFactory which just defines the [[API]] but allows others to plug in various implementations of the [[XML]] parsers (and requires at least one provider to be present). |
Revision as of 22:04, 24 April 2012
In contrast to simple library, the modular library is ready for being extended. It contains API, but often it requires (or allows) someone else to provide useful implementation. Classical example can be javax.xml.DocumentBuilderFactory which just defines the API but allows others to plug in various implementations of the XML parsers (and requires at least one provider to be present).