This method of the InternetExplorer class retrieves the type name of the contained document object.
public native java.lang.String getType();