public class RenderingEngine extends VersionedObject
Constructor and Description |
---|
RenderingEngine(Brand _brand,
RenderingEngineFamily _family)
This is the constructor that does not specify a version.
|
RenderingEngine(Brand _brand,
RenderingEngineFamily _family,
float _oneVersion,
int _nbChunks)
This constructor of the RenderingEngine object only specifies the
fullVersion as a float. |
RenderingEngine(Brand _brand,
RenderingEngineFamily _family,
java.lang.String _oneVersion,
int _nbChunks)
This constructor of the RenderingEngine object only specifies the
fullVersion . |
RenderingEngine(Brand _brand,
RenderingEngineFamily _family,
java.lang.String _version,
java.lang.String _fullVersion)
This is the most detailed constructor of the RenderingEngine object, where everything can be specified.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
RenderingEngineFamily |
getFamily() |
static RenderingEngine |
getNone() |
static RenderingEngine |
getOther(Brand brand) |
static RenderingEngine |
getText() |
static RenderingEngine |
getUnknown() |
Brand |
getVendor() |
int |
hashCode() |
java.lang.String |
toString() |
getFullVersion, getVersion, setFullVersionOneShot
public RenderingEngine(Brand _brand, RenderingEngineFamily _family, java.lang.String _version, java.lang.String _fullVersion)
_brand
- The vendor of this browser._family
- The family of this browser._version
- The version of this browser._fullVersion
- The full version of this browser.public RenderingEngine(Brand _brand, RenderingEngineFamily _family)
_brand
- The vendor of this browser._family
- The family of this browser.public RenderingEngine(Brand _brand, RenderingEngineFamily _family, java.lang.String _oneVersion, int _nbChunks)
fullVersion
. The version
is deduced by calling setFullVersionOneShot(oneVersion)
._brand
- The vendor of this browser._family
- The family of this browser._oneVersion
- The full version of this browser._nbChunks
- How many chunks of numbers should the small version keep.public RenderingEngine(Brand _brand, RenderingEngineFamily _family, float _oneVersion, int _nbChunks)
fullVersion
as a float. The version
is deduced by calling setFullVersionOneShot(oneVersion)
._brand
- The vendor of this browser._family
- The family of this browser._oneVersion
- The full version of this browser, as a floating-point number._nbChunks
- How many chunks of numbers should the small version keep.public static RenderingEngine getUnknown()
public static RenderingEngine getOther(Brand brand)
public static RenderingEngine getText()
public static RenderingEngine getNone()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Brand getVendor()
public RenderingEngineFamily getFamily()