Class Config.CompatibilityMode

  • Enclosing class:
    Config

    public static final class Config.CompatibilityMode
    extends java.lang.Object
    Represents a set of configuration parameters that relate to user agent compatibility issues.

    The predefined compatibility modes IE, MOZILLA, OPERA and XHTML provide an easy means of ensuring the library interprets the markup in a way consistent with some of the most commonly used browsers, at least in relation to the behaviour described by the properties in this class.

    The properties of any CompatibilityMode object can be modified individually, including those in the predefined instances as well as newly constructed instances. Take note however that modifying the properties of the predefined instances has a global affect.

    The currently active compatibility mode is stored in the static Config.CurrentCompatibilityMode property.