nl.bitwalker.useragentutils
Enum RenderingEngine

java.lang.Object
  extended by java.lang.Enum<RenderingEngine>
      extended by nl.bitwalker.useragentutils.RenderingEngine
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RenderingEngine>

public enum RenderingEngine
extends java.lang.Enum<RenderingEngine>

Enum constants classifying the different types of rendering engines which are being used by browsers.

Author:
harald

Enum Constant Summary
GECKO
          Open source and cross platform layout engine, used by Firefox and many other browsers.
KHTML
          Layout engine of the KDE project
MOZILLA
          Original layout engine of the Mozilla browser and related products.
OTHER
          Other or unknown layout engine.
PRESTO
          Proprietary layout engine by Opera Software ASA
TRIDENT
          Trident is the the Microsoft layout engine, mainly used by Internet Explorer.
WEBKIT
          Layout engine based on KHTML, used by Safari, Chrome and some other browsers.
WORD
          HTML parsing and rendering engine of Microsoft Office Word, used by some other products of the Office suite instead of Trident.
 
Method Summary
static RenderingEngine valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RenderingEngine[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TRIDENT

public static final RenderingEngine TRIDENT
Trident is the the Microsoft layout engine, mainly used by Internet Explorer.


WORD

public static final RenderingEngine WORD
HTML parsing and rendering engine of Microsoft Office Word, used by some other products of the Office suite instead of Trident.


GECKO

public static final RenderingEngine GECKO
Open source and cross platform layout engine, used by Firefox and many other browsers.


WEBKIT

public static final RenderingEngine WEBKIT
Layout engine based on KHTML, used by Safari, Chrome and some other browsers.


PRESTO

public static final RenderingEngine PRESTO
Proprietary layout engine by Opera Software ASA


MOZILLA

public static final RenderingEngine MOZILLA
Original layout engine of the Mozilla browser and related products. Predecessor of Gecko.


KHTML

public static final RenderingEngine KHTML
Layout engine of the KDE project


OTHER

public static final RenderingEngine OTHER
Other or unknown layout engine.

Method Detail

values

public static RenderingEngine[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RenderingEngine c : RenderingEngine.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RenderingEngine valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2011. All Rights Reserved.