Microsoft SDK for Java

getParent

This method of the Document class retrieves the parent element. There is no parent element for the Document class, so this method always returns null.

Syntax

public Element getParent();

Return Value

Returns null.

Overrides

getParent() in ElementImpl.

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