com.jniwrapper.win32.ie
Class InternetFeatures

java.lang.Object
  extended by com.jniwrapper.win32.ie.InternetFeatures

public final class InternetFeatures
extends java.lang.Object

Represents Internet Explorer features. The features list represented in this class was introduced in Internet Explorer 6 for Microsoft Windows XP Service Pack 2 (SP2), and expanded for Internet Explorer 7.


Method Summary
 boolean isAddOnManagement()
          Checks the FEATURE_ADDON_MANAGEMENT Internet Explorer feature.
 boolean isBehaviors()
          Checks the FEATURE_BEHAVIORS Internet Explorer feature.
 boolean isBlockInputPrompts()
          Checks the FEATURE_BLOCK_INPUT_PROMPTS Internet Explorer feature.
 boolean isDisableLegacyCompression()
          Checks the FEATURE_DISABLE_LEGACY_COMPRESSION Internet Explorer feature.
 boolean isDisableMkProtocol()
          Checks the FEATURE_DISABLE_MK_PROTOCOL Internet Explorer feature.
 boolean isDisableNavigationSounds()
          Checks the FEATURE_DISABLE_NAVIGATION_SOUNDS Internet Explorer feature.
 boolean isDisableTelnetProtocol()
          Checks the FEATURE_DISABLE_TELNET_PROTOCOL Internet Explorer feature.
 boolean isFeeds()
          Checks the FEATURE_FEEDS Internet Explorer feature.
 boolean isForceAddAndStatus()
          Checks the FEATURE_FORCE_ADDR_AND_STATUS Internet Explorer feature.
 boolean isGetUrlDomFilepathUnencoded()
          Checks the FEATURE_GET_URL_DOM_FILEPATH_UNENCODED Internet Explorer feature.
 boolean isHttpUsernamePasswordDisable()
          Checks the FEATURE_HTTP_USERNAME_PASSWORD_DISABLE Internet Explorer feature.
 boolean isLocalMachineLockDown()
          Checks the FEATURE_LOCALMACHINE_LOCKDOWN Internet Explorer feature.
 boolean isMimeHandling()
          Checks the FEATURE_MIME_HANDLING Internet Explorer feature.
 boolean isMimeSniffing()
          Checks the FEATURE_MIME_SNIFFING Internet Explorer feature.
 boolean isObjectCaching()
          Checks the FEATURE_OBJECT_CACHING Internet Explorer feature.
 boolean isPopupManagement()
          Checks the FEATURE_WEBOC_POPUPMANAGEMENT Internet Explorer feature.
 boolean isProtocolLockDown()
          Checks the FEATURE_PROTOCOL_LOCKDOWN Internet Explorer feature.
 boolean isRestrictActiveXInstall()
          Checks the FEATURE_RESTRICT_ACTIVEXINSTALL Internet Explorer feature.
 boolean isRestrictFileDownload()
          Checks the FEATURE_RESTRICT_FILEDOWNLOAD Internet Explorer feature.
 boolean isSafeBindToObject()
          Checks the FEATURE_SAFE_BINDTOOBJECT Internet Explorer feature.
 boolean isSecurityBand()
          Checks the FEATURE_SECURITYBAND Internet Explorer feature.
 boolean isSslux()
          Checks the FEATURE_SSLUX Internet Explorer feature.
 boolean isTabbedBrowsing()
          Checks the FEATURE_TABBED_BROWSING Internet Explorer feature.
 boolean isUncSavedFileCheck()
          Checks the FEATURE_UNC_SAVEDFILECHECK Internet Explorer feature.
 boolean isValidateNavigateUrl()
          Checks the FEATURE_VALIDATE_NAVIGATE_URL Internet Explorer feature.
 boolean isWindowRestrictions()
          Checks the FEATURE_WINDOW_RESTRICTIONS Internet Explorer feature.
 boolean isXmlhttp()
          Checks the FEATURE_XMLHTTP Internet Explorer feature.
 boolean isZoneElevation()
          Checks the FEATURE_ZONE_ELEVATION Internet Explorer feature.
 void setAddOnManagement(boolean enable)
          Sets the FEATURE_ADDON_MANAGEMENT Internet Explorer feature.
 void setBehaviors(boolean enable)
          Sets the FEATURE_BEHAVIORS Internet Explorer feature.
 void setBlockInputPrompts(boolean enable)
          Sets the FEATURE_BLOCK_INPUT_PROMPTS Internet Explorer feature.
 void setDisableLegacyCompression(boolean enable)
          Sets the FEATURE_DISABLE_LEGACY_COMPRESSION Internet Explorer feature.
 void setDisableMkProtocol(boolean enable)
          Sets the FEATURE_DISABLE_MK_PROTOCOL Internet Explorer feature.
 void setDisableNavigationSounds(boolean enable)
          Sets the FEATURE_DISABLE_NAVIGATION_SOUNDS Internet Explorer feature.
 void setDisableTelnetProtocol(boolean enable)
          Sets the FEATURE_DISABLE_TELNET_PROTOCOL Internet Explorer feature.
 void setFeeds(boolean enable)
          Sets the FEATURE_FEEDS Internet Explorer feature.
 void setForceAddAndStatus(boolean enable)
          Sets the FEATURE_FORCE_ADDR_AND_STATUS Internet Explorer feature.
 void setGetUrlDomFilepathUnencoded(boolean enable)
          Sets the FEATURE_GET_URL_DOM_FILEPATH_UNENCODED Internet Explorer feature.
 void setHttpUsernamePasswordDisable(boolean enable)
          Sets the FEATURE_HTTP_USERNAME_PASSWORD_DISABLE Internet Explorer feature.
 void setLocalMachineLockDown(boolean enable)
          Sets the FEATURE_LOCALMACHINE_LOCKDOWN Internet Explorer feature.
 void setMimeHandling(boolean enable)
          Sets the FEATURE_MIME_HANDLING Internet Explorer feature.
 void setMimeSniffing(boolean enable)
          Sets the FEATURE_MIME_SNIFFING Internet Explorer feature.
 void setObjectCaching(boolean enable)
          Sets the FEATURE_OBJECT_CACHING Internet Explorer feature.
 void setPopupManagement(boolean enable)
          Sets the FEATURE_WEBOC_POPUPMANAGEMENT Internet Explorer feature.
 void setProtocolLockDown(boolean enable)
          Sets the FEATURE_PROTOCOL_LOCKDOWN Internet Explorer feature.
 void setRestrictActiveXInstall(boolean enable)
          Sets the FEATURE_RESTRICT_ACTIVEXINSTALL Internet Explorer feature.
 void setRestrictFileDownload(boolean enable)
          Sets the FEATURE_RESTRICT_FILEDOWNLOAD Internet Explorer feature.
 void setSafeBindToObject(boolean enable)
          Sets the FEATURE_SAFE_BINDTOOBJECT Internet Explorer feature.
 void setSecurityBand(boolean enable)
          Sets the FEATURE_SECURITYBAND Internet Explorer feature.
 void setSslux(boolean enable)
          Sets the FEATURE_SSLUX Internet Explorer feature.
 void setTabbedBrowsing(boolean enable)
          Sets the FEATURE_TABBED_BROWSING Internet Explorer feature.
 void setUncSavedFileCheck(boolean enable)
          Sets the FEATURE_UNC_SAVEDFILECHECK Internet Explorer feature.
 void setValidateNavigateUrl(boolean enable)
          Sets the FEATURE_VALIDATE_NAVIGATE_URL Internet Explorer feature.
 void setWindowRestrictions(boolean enable)
          Sets the FEATURE_WINDOW_RESTRICTIONS Internet Explorer feature.
 void setXmlhttp(boolean enable)
          Sets the FEATURE_XMLHTTP Internet Explorer feature.
 void setZoneElevation(boolean enable)
          Sets the FEATURE_ZONE_ELEVATION Internet Explorer feature.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isObjectCaching

public boolean isObjectCaching()
                        throws UnsupportedInternetFeatureException
Checks the FEATURE_OBJECT_CACHING Internet Explorer feature.

FEATURE_OBJECT_CACHING: Block access to objects instantiated and cached in one domain from another domain enabled.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setObjectCaching

public void setObjectCaching(boolean enable)
                      throws UnsupportedInternetFeatureException
Sets the FEATURE_OBJECT_CACHING Internet Explorer feature.

FEATURE_OBJECT_CACHING: Block access to objects instantiated and cached in one domain from another domain enabled.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isZoneElevation

public boolean isZoneElevation()
                        throws UnsupportedInternetFeatureException
Checks the FEATURE_ZONE_ELEVATION Internet Explorer feature.

FEATURE_ZONE_ELEVATION: Prevent non-user initiated navigation between a page in one zone to a page in a higher security zone. This feature, when enabled, can be set differently for each security zone.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setZoneElevation

public void setZoneElevation(boolean enable)
                      throws UnsupportedInternetFeatureException
Sets the FEATURE_ZONE_ELEVATION Internet Explorer feature.

FEATURE_ZONE_ELEVATION: Prevent non-user initiated navigation between a page in one zone to a page in a higher security zone. This feature, when enabled, can be set differently for each security zone.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isMimeHandling

public boolean isMimeHandling()
                       throws UnsupportedInternetFeatureException
Checks the FEATURE_MIME_HANDLING Internet Explorer feature.

FEATURE_MIME_HANDLING: Check for consistency between the file name extension, the Content-Type value in the HTTP header, the Content-Disposition in the HTTP header, and the file type detected by an examination of the file's signature bits—also called a MIME "sniff." Files that are found to have inconsistent information in these areas are renamed and moved to the Internet Explorer cache.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setMimeHandling

public void setMimeHandling(boolean enable)
                     throws UnsupportedInternetFeatureException
Sets the FEATURE_MIME_HANDLING Internet Explorer feature.

FEATURE_MIME_HANDLING: Check for consistency between the file name extension, the Content-Type value in the HTTP header, the Content-Disposition in the HTTP header, and the file type detected by an examination of the file's signature bits—also called a MIME "sniff." Files that are found to have inconsistent information in these areas are renamed and moved to the Internet Explorer cache.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isMimeSniffing

public boolean isMimeSniffing()
                       throws UnsupportedInternetFeatureException
Checks the FEATURE_MIME_SNIFFING Internet Explorer feature.

FEATURE_MIME_SNIFFING: Allow the process to determine a file's type by examining its bit signature. Internet Explorer uses this information to determine how to render the file. This feature, when enabled, can be set differently for each security zone.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setMimeSniffing

public void setMimeSniffing(boolean enable)
                     throws UnsupportedInternetFeatureException
Sets the FEATURE_MIME_SNIFFING Internet Explorer feature.

FEATURE_MIME_SNIFFING: Allow the process to determine a file's type by examining its bit signature. Internet Explorer uses this information to determine how to render the file. This feature, when enabled, can be set differently for each security zone.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isWindowRestrictions

public boolean isWindowRestrictions()
                             throws UnsupportedInternetFeatureException
Checks the FEATURE_WINDOW_RESTRICTIONS Internet Explorer feature.

FEATURE_WINDOW_RESTRICTIONS: Constrain to the viewable desktop area and force to have a status bar. Also, restrict pop-up windows without chrome in size and position so that they cannot overlay important information on their parent windows and cannot overlay system dialog box information. This feature, when enabled, can be set differently for each security zone.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setWindowRestrictions

public void setWindowRestrictions(boolean enable)
                           throws UnsupportedInternetFeatureException
Sets the FEATURE_WINDOW_RESTRICTIONS Internet Explorer feature.

FEATURE_WINDOW_RESTRICTIONS: Constrain to the viewable desktop area and force to have a status bar. Also, restrict pop-up windows without chrome in size and position so that they cannot overlay important information on their parent windows and cannot overlay system dialog box information. This feature, when enabled, can be set differently for each security zone.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isPopupManagement

public boolean isPopupManagement()
                          throws UnsupportedInternetFeatureException
Checks the FEATURE_WEBOC_POPUPMANAGEMENT Internet Explorer feature.

FEATURE_WEBOC_POPUPMANAGEMENT: Enable applications hosting the WebBrowser Control to receive the default Internet Explorer pop-up management behavior.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setPopupManagement

public void setPopupManagement(boolean enable)
                        throws UnsupportedInternetFeatureException
Sets the FEATURE_WEBOC_POPUPMANAGEMENT Internet Explorer feature.

FEATURE_WEBOC_POPUPMANAGEMENT: Enable applications hosting the WebBrowser Control to receive the default Internet Explorer pop-up management behavior.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isBehaviors

public boolean isBehaviors()
                    throws UnsupportedInternetFeatureException
Checks the FEATURE_BEHAVIORS Internet Explorer feature.

FEATURE_BEHAVIORS: Allow Binary Behaviors to run securely. This feature, when enabled, can be set differently for each security zone.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setBehaviors

public void setBehaviors(boolean enable)
                  throws UnsupportedInternetFeatureException
Sets the FEATURE_BEHAVIORS Internet Explorer feature.

FEATURE_BEHAVIORS: Allow Binary Behaviors to run securely. This feature, when enabled, can be set differently for each security zone.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isDisableMkProtocol

public boolean isDisableMkProtocol()
                            throws UnsupportedInternetFeatureException
Checks the FEATURE_DISABLE_MK_PROTOCOL Internet Explorer feature.

FEATURE_DISABLE_MK_PROTOCOL: Fail resources hosted on the MK: protocol.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setDisableMkProtocol

public void setDisableMkProtocol(boolean enable)
                          throws UnsupportedInternetFeatureException
Sets the FEATURE_DISABLE_MK_PROTOCOL Internet Explorer feature.

FEATURE_DISABLE_MK_PROTOCOL: Fail resources hosted on the MK: protocol.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isLocalMachineLockDown

public boolean isLocalMachineLockDown()
                               throws UnsupportedInternetFeatureException
Checks the FEATURE_LOCALMACHINE_LOCKDOWN Internet Explorer feature.

FEATURE_LOCALMACHINE_LOCKDOWN: Apply Local Machine Zone security settings to all local content.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setLocalMachineLockDown

public void setLocalMachineLockDown(boolean enable)
                             throws UnsupportedInternetFeatureException
Sets the FEATURE_LOCALMACHINE_LOCKDOWN Internet Explorer feature.

FEATURE_LOCALMACHINE_LOCKDOWN: Apply Local Machine Zone security settings to all local content.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isSecurityBand

public boolean isSecurityBand()
                       throws UnsupportedInternetFeatureException
Checks the FEATURE_SECURITYBAND Internet Explorer feature.

FEATURE_SECURITYBAND: Show the default Internet Explorer Information Bar when file download or code installation is restricted.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setSecurityBand

public void setSecurityBand(boolean enable)
                     throws UnsupportedInternetFeatureException
Sets the FEATURE_SECURITYBAND Internet Explorer feature.

FEATURE_SECURITYBAND: Show the default Internet Explorer Information Bar when file download or code installation is restricted.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isRestrictActiveXInstall

public boolean isRestrictActiveXInstall()
                                 throws UnsupportedInternetFeatureException
Checks the FEATURE_RESTRICT_ACTIVEXINSTALL Internet Explorer feature.

FEATURE_RESTRICT_ACTIVEXINSTALL: Block Microsoft ActiveX controls on pages that instantiate or prompt for the installation of ActiveX controls or when the control is an update to a control that is not installed. This feature, when enabled, can be set differently for each security zone.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setRestrictActiveXInstall

public void setRestrictActiveXInstall(boolean enable)
                               throws UnsupportedInternetFeatureException
Sets the FEATURE_RESTRICT_ACTIVEXINSTALL Internet Explorer feature.

FEATURE_RESTRICT_ACTIVEXINSTALL: Block Microsoft ActiveX controls on pages that instantiate or prompt for the installation of ActiveX controls or when the control is an update to a control that is not installed. This feature, when enabled, can be set differently for each security zone.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isValidateNavigateUrl

public boolean isValidateNavigateUrl()
                              throws UnsupportedInternetFeatureException
Checks the FEATURE_VALIDATE_NAVIGATE_URL Internet Explorer feature.

FEATURE_VALIDATE_NAVIGATE_URL: Block navigation to any page with a badly formed URL.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setValidateNavigateUrl

public void setValidateNavigateUrl(boolean enable)
                            throws UnsupportedInternetFeatureException
Sets the FEATURE_VALIDATE_NAVIGATE_URL Internet Explorer feature.

FEATURE_VALIDATE_NAVIGATE_URL: Block navigation to any page with a badly formed URL.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isRestrictFileDownload

public boolean isRestrictFileDownload()
                               throws UnsupportedInternetFeatureException
Checks the FEATURE_RESTRICT_FILEDOWNLOAD Internet Explorer feature.

FEATURE_RESTRICT_FILEDOWNLOAD: Block file downloads that navigate to a resource, that display a file download dialog box, or that are not initiated explicitly by a user action (for example, a mouse click or key press). This feature, when enabled, can be set differently for each security zone.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setRestrictFileDownload

public void setRestrictFileDownload(boolean enable)
                             throws UnsupportedInternetFeatureException
Sets the FEATURE_RESTRICT_FILEDOWNLOAD Internet Explorer feature.

FEATURE_RESTRICT_FILEDOWNLOAD: Block file downloads that navigate to a resource, that display a file download dialog box, or that are not initiated explicitly by a user action (for example, a mouse click or key press). This feature, when enabled, can be set differently for each security zone.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isAddOnManagement

public boolean isAddOnManagement()
                          throws UnsupportedInternetFeatureException
Checks the FEATURE_ADDON_MANAGEMENT Internet Explorer feature.

FEATURE_ADDON_MANAGEMENT: Block add-ons disabled by the user or group policy from running or installing.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setAddOnManagement

public void setAddOnManagement(boolean enable)
                        throws UnsupportedInternetFeatureException
Sets the FEATURE_ADDON_MANAGEMENT Internet Explorer feature.

FEATURE_ADDON_MANAGEMENT: Block add-ons disabled by the user or group policy from running or installing.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isProtocolLockDown

public boolean isProtocolLockDown()
                           throws UnsupportedInternetFeatureException
Checks the FEATURE_PROTOCOL_LOCKDOWN Internet Explorer feature.

FEATURE_PROTOCOL_LOCKDOWN: Restrict selected protocols from performing URL actions in particular security zones. A list of restricted protocols is maintained for each zone.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setProtocolLockDown

public void setProtocolLockDown(boolean enable)
                         throws UnsupportedInternetFeatureException
Sets the FEATURE_PROTOCOL_LOCKDOWN Internet Explorer feature.

FEATURE_PROTOCOL_LOCKDOWN: Restrict selected protocols from performing URL actions in particular security zones. A list of restricted protocols is maintained for each zone.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isHttpUsernamePasswordDisable

public boolean isHttpUsernamePasswordDisable()
                                      throws UnsupportedInternetFeatureException
Checks the FEATURE_HTTP_USERNAME_PASSWORD_DISABLE Internet Explorer feature.

FEATURE_HTTP_USERNAME_PASSWORD_DISABLE: Invalidate URL syntax that may include a username and password (http(s)://username:password@server/).

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setHttpUsernamePasswordDisable

public void setHttpUsernamePasswordDisable(boolean enable)
                                    throws UnsupportedInternetFeatureException
Sets the FEATURE_HTTP_USERNAME_PASSWORD_DISABLE Internet Explorer feature.

FEATURE_HTTP_USERNAME_PASSWORD_DISABLE: Invalidate URL syntax that may include a username and password (http(s)://username:password@server/).

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isSafeBindToObject

public boolean isSafeBindToObject()
                           throws UnsupportedInternetFeatureException
Checks the FEATURE_SAFE_BINDTOOBJECT Internet Explorer feature.

FEATURE_SAFE_BINDTOOBJECT: Perform additional safety checks when calling IBindHost.MonikerBindToObject() to create and initialize ActiveX controls.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setSafeBindToObject

public void setSafeBindToObject(boolean enable)
                         throws UnsupportedInternetFeatureException
Sets the FEATURE_SAFE_BINDTOOBJECT Internet Explorer feature.

FEATURE_SAFE_BINDTOOBJECT: Perform additional safety checks when calling IBindHost.MonikerBindToObject() to create and initialize ActiveX controls.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isUncSavedFileCheck

public boolean isUncSavedFileCheck()
                            throws UnsupportedInternetFeatureException
Checks the FEATURE_UNC_SAVEDFILECHECK Internet Explorer feature.

FEATURE_UNC_SAVEDFILECHECK: Evaluate the "saved from url" information for files on a Universal Naming Convention (UNC) share. This feature increases security on UNC paths but at a performance cost.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setUncSavedFileCheck

public void setUncSavedFileCheck(boolean enable)
                          throws UnsupportedInternetFeatureException
Sets the FEATURE_UNC_SAVEDFILECHECK Internet Explorer feature.

FEATURE_UNC_SAVEDFILECHECK: Evaluate the "saved from url" information for files on a Universal Naming Convention (UNC) share. This feature increases security on UNC paths but at a performance cost.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isGetUrlDomFilepathUnencoded

public boolean isGetUrlDomFilepathUnencoded()
                                     throws UnsupportedInternetFeatureException
Checks the FEATURE_GET_URL_DOM_FILEPATH_UNENCODED Internet Explorer feature.

FEATURE_GET_URL_DOM_FILEPATH_UNENCODED: Return unencoded file paths for files that use the "file://" protocol scheme.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setGetUrlDomFilepathUnencoded

public void setGetUrlDomFilepathUnencoded(boolean enable)
                                   throws UnsupportedInternetFeatureException
Sets the FEATURE_GET_URL_DOM_FILEPATH_UNENCODED Internet Explorer feature.

FEATURE_GET_URL_DOM_FILEPATH_UNENCODED: Return unencoded file paths for files that use the "file://" protocol scheme.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isTabbedBrowsing

public boolean isTabbedBrowsing()
                         throws UnsupportedInternetFeatureException
Checks the FEATURE_TABBED_BROWSING Internet Explorer feature.

FEATURE_TABBED_BROWSING: Windows Internet Explorer 7. Enable tabbed browsing shortcuts and notifications.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setTabbedBrowsing

public void setTabbedBrowsing(boolean enable)
                       throws UnsupportedInternetFeatureException
Sets the FEATURE_TABBED_BROWSING Internet Explorer feature.

FEATURE_TABBED_BROWSING: Windows Internet Explorer 7. Enable tabbed browsing shortcuts and notifications.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isSslux

public boolean isSslux()
                throws UnsupportedInternetFeatureException
Checks the FEATURE_SSLUX Internet Explorer feature.

FEATURE_SSLUX: Internet Explorer 7. Suppress Microsoft Win32 Internet (WinInet) dialogs for Secure Sockets Layer (SSL) errors.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setSslux

public void setSslux(boolean enable)
              throws UnsupportedInternetFeatureException
Sets the FEATURE_SSLUX Internet Explorer feature.

FEATURE_SSLUX: Internet Explorer 7. Suppress Microsoft Win32 Internet (WinInet) dialogs for Secure Sockets Layer (SSL) errors.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isDisableNavigationSounds

public boolean isDisableNavigationSounds()
                                  throws UnsupportedInternetFeatureException
Checks the FEATURE_DISABLE_NAVIGATION_SOUNDS Internet Explorer feature.

FEATURE_DISABLE_NAVIGATION_SOUNDS: Internet Explorer 7. Disable the sounds played when the user opens a link.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setDisableNavigationSounds

public void setDisableNavigationSounds(boolean enable)
                                throws UnsupportedInternetFeatureException
Sets the FEATURE_DISABLE_NAVIGATION_SOUNDS Internet Explorer feature.

FEATURE_DISABLE_NAVIGATION_SOUNDS: Internet Explorer 7. Disable the sounds played when the user opens a link.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isDisableLegacyCompression

public boolean isDisableLegacyCompression()
                                   throws UnsupportedInternetFeatureException
Checks the FEATURE_DISABLE_LEGACY_COMPRESSION Internet Explorer feature.

FEATURE_DISABLE_LEGACY_COMPRESSION: Internet Explorer 7. Deactivate legacy compression architecture, and consolidate manipulation of HTTP data. The new architecture provides consistency between transfer encoding (such as HTTP no-cache headers) and content encoding.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setDisableLegacyCompression

public void setDisableLegacyCompression(boolean enable)
                                 throws UnsupportedInternetFeatureException
Sets the FEATURE_DISABLE_LEGACY_COMPRESSION Internet Explorer feature.

FEATURE_DISABLE_LEGACY_COMPRESSION: Internet Explorer 7. Deactivate legacy compression architecture, and consolidate manipulation of HTTP data. The new architecture provides consistency between transfer encoding (such as HTTP no-cache headers) and content encoding.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isForceAddAndStatus

public boolean isForceAddAndStatus()
                            throws UnsupportedInternetFeatureException
Checks the FEATURE_FORCE_ADDR_AND_STATUS Internet Explorer feature.

FEATURE_FORCE_ADDR_AND_STATUS: Internet Explorer 7. Require new windows to include both address and status bar.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setForceAddAndStatus

public void setForceAddAndStatus(boolean enable)
                          throws UnsupportedInternetFeatureException
Sets the FEATURE_FORCE_ADDR_AND_STATUS Internet Explorer feature.

FEATURE_FORCE_ADDR_AND_STATUS: Internet Explorer 7. Require new windows to include both address and status bar.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isXmlhttp

public boolean isXmlhttp()
                  throws UnsupportedInternetFeatureException
Checks the FEATURE_XMLHTTP Internet Explorer feature.

FEATURE_XMLHTTP: Internet Explorer 7. Enable or disable the native XMLHttpRequest object.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setXmlhttp

public void setXmlhttp(boolean enable)
                throws UnsupportedInternetFeatureException
Sets the FEATURE_XMLHTTP Internet Explorer feature.

FEATURE_XMLHTTP: Internet Explorer 7. Enable or disable the native XMLHttpRequest object.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isDisableTelnetProtocol

public boolean isDisableTelnetProtocol()
                                throws UnsupportedInternetFeatureException
Checks the FEATURE_DISABLE_TELNET_PROTOCOL Internet Explorer feature.

FEATURE_DISABLE_TELNET_PROTOCOL: Internet Explorer 7. Disable the built-in telnet protocol handler.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setDisableTelnetProtocol

public void setDisableTelnetProtocol(boolean enable)
                              throws UnsupportedInternetFeatureException
Sets the FEATURE_DISABLE_TELNET_PROTOCOL Internet Explorer feature.

FEATURE_DISABLE_TELNET_PROTOCOL: Internet Explorer 7. Disable the built-in telnet protocol handler.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isFeeds

public boolean isFeeds()
                throws UnsupportedInternetFeatureException
Checks the FEATURE_FEEDS Internet Explorer feature.

FEATURE_FEEDS: Internet Explorer 7. Enable MIME-sniffing for Really Simple Syndication (RSS) feeds, and feed auto-discovery.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setFeeds

public void setFeeds(boolean enable)
              throws UnsupportedInternetFeatureException
Sets the FEATURE_FEEDS Internet Explorer feature.

FEATURE_FEEDS: Internet Explorer 7. Enable MIME-sniffing for Really Simple Syndication (RSS) feeds, and feed auto-discovery.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

isBlockInputPrompts

public boolean isBlockInputPrompts()
                            throws UnsupportedInternetFeatureException
Checks the FEATURE_BLOCK_INPUT_PROMPTS Internet Explorer feature.

FEATURE_BLOCK_INPUT_PROMPTS: Internet Explorer 7. Enable or disable the pop-up blocker to show input prompt dialogs. Used to mitigate the risk of spoofing.

Returns:
true if this feature controls for Internet Explorer is enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported

setBlockInputPrompts

public void setBlockInputPrompts(boolean enable)
                          throws UnsupportedInternetFeatureException
Sets the FEATURE_BLOCK_INPUT_PROMPTS Internet Explorer feature.

FEATURE_BLOCK_INPUT_PROMPTS: Internet Explorer 7. Enable or disable the pop-up blocker to show input prompt dialogs. Used to mitigate the risk of spoofing.

Parameters:
enable - if true this feature controls for Internet Explorer will enabled, otherwise - false
Throws:
UnsupportedInternetFeatureException - if the Internet Explorer feature is not supported