org.alembik.util
Enum TranscodingUtils.CSSVersion

java.lang.Object
  extended by java.lang.Enum<TranscodingUtils.CSSVersion>
      extended by org.alembik.util.TranscodingUtils.CSSVersion
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TranscodingUtils.CSSVersion>
Enclosing class:
TranscodingUtils

public static enum TranscodingUtils.CSSVersion
extends java.lang.Enum<TranscodingUtils.CSSVersion>

The possible types of CSS support in a web document transcoded by the web rendering engine.

See Also:
TranscodingUtils.CSS_VERSION, TranscodingUtils.setCSSVersion(Text, org.alembik.util.TranscodingUtils.CSSVersion), TranscodingUtils.getCSSVersion(Text)

Enum Constant Summary
CSS_MP
          CSS Mobile profile.
NO_CSS
          No CSS support.
 
Method Summary
static TranscodingUtils.CSSVersion valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TranscodingUtils.CSSVersion[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CSS_MP

public static final TranscodingUtils.CSSVersion CSS_MP
CSS Mobile profile.


NO_CSS

public static final TranscodingUtils.CSSVersion NO_CSS
No CSS support.

Method Detail

values

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

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

valueOf

public static TranscodingUtils.CSSVersion 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