se.entra.phantom.server.http
Class BrowserCapabilities

java.lang.Object
  extended by se.entra.phantom.server.http.BrowserCapabilities

public class BrowserCapabilities
extends Object

This class checks the predefined NetPhantom capabilities of a browser using the BrowserIdentification class.

Some settings may be checked as strings by the methods in this class.


Field Summary
 boolean isButtonSupported
          The browser supports the "BUTTON" HTML tag.
 boolean isDisableSupported
          The browser supports the "DISABLED" attribute for entry fields, push buttons, etc.
 boolean isLabelSupported
          The browser supports the "LABEL" HTML tag.
 
Constructor Summary
BrowserCapabilities()
          Creates default capability settings when a browser is not identified.
BrowserCapabilities(IniFile ini, String section)
          Initiates the browser capabilities class members from the "user agent" string of the browser in conjunction with the "Browser Identification" class.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isDisableSupported

public final boolean isDisableSupported
The browser supports the "DISABLED" attribute for entry fields, push buttons, etc.


isLabelSupported

public final boolean isLabelSupported
The browser supports the "LABEL" HTML tag.


isButtonSupported

public final boolean isButtonSupported
The browser supports the "BUTTON" HTML tag.

Constructor Detail

BrowserCapabilities

public BrowserCapabilities()
Creates default capability settings when a browser is not identified. These settings support only the lowest level of functionality.


BrowserCapabilities

public BrowserCapabilities(IniFile ini,
                           String section)
Initiates the browser capabilities class members from the "user agent" string of the browser in conjunction with the "Browser Identification" class.



Phantom® and NetPhantom® are registered trademarks of Codectica Systems SARL.
© Copyright Codectica Systems SARL, 2008. All rights reserved.