Class XHTMLDocumentFactory

All Implemented Interfaces:
Serializable, DOMImplementation
Direct Known Subclasses:
DOM4JUserAgent.AgentXHTMLDocumentFactory

public class XHTMLDocumentFactory extends DOMDocumentFactory
DocumentFactory for CSS-styled XHTML documents.

This factory creates XHTMLDocuments and other objects with support for CSS style sheets.

It is possible to produce elements with the ability to cache its own computed style, if you call setStyleCache(true). Although the performance benefit is generally not noticeable, in some corner cases it could enhance performance for applications that may call the getComputedStyle() method of a single stylable element many times. Due to the generally negligible performance gain, cache is off by default.

See Also: