Refactoring to Adapter Pattern
2017-11-29 本文已影响0人
贾尼
Below is a practice about refactoring to adapter pattern:

- Extract Interface (ITagNode)
- Replace Element with ITagNode in DomBuilder and XMLBuilder
- Pull method to AbstractBuilder
- Remove duplicated codes