This method of the IWebBrowser2 interface retrieves the type name of the contained document object.
public java.lang.String getType();