Microsoft SDK for Java

Document Class Constructors

The Document class contains the following constructors:

Document()
Document(ElementFactory f)

Document()

Constructs a new, empty document using the default element factory.

Syntax

public Document();

Document(ElementFactory f)

Constructs a new, empty document using the given ElementFactory object when building the XML element hierarchy.

Syntax

public Document(ElementFactory f);

Parameters

f The ElementFactory to use.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.