The Document class contains the following constructors:
Document()
Document(ElementFactory f)
Constructs a new, empty document using the default element factory.
public Document();
Constructs a new, empty document using the given ElementFactory object when building the XML element hierarchy.
public Document(ElementFactory f);
f | The ElementFactory to use. |