Class DOMGenerator