Microsoft SDK for Java

getDocType

This method of the Document class retrieves the document type.

Syntax

public final String getDocType();

Return Value

Returns the name specified in the <!DOCTYPE> tag.

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