Module java.xml

Class DOMSource

java.lang.Object
javax.xml.transform.dom.DOMSource
All Implemented Interfaces:
Source

public class DOMSource extends Object implements Source

Acts as a holder for a transformation Source tree in the form of a Document Object Model (DOM) tree.

Note that XSLT requires namespace support. Attempting to transform a DOM that was not constructed with a namespace-aware parser may result in errors. Parsers can be made namespace aware by calling DocumentBuilderFactory.setNamespaceAware(boolean awareness).

Since:
1.4
See Also: