org.alembik.util
Enum TranscodingUtils.ImageRendering

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

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

The possible options of handling images embedded in a web document transcoded by the web rendering engine.

See Also:
TranscodingUtils.MOBILE_IMAGE_RENDERING, TranscodingUtils.setImageRendering(Text, org.alembik.util.TranscodingUtils.ImageRendering), TranscodingUtils.getImageRendering(Text)

Enum Constant Summary
CLIENT_PROCESSING
          Embedded images are transcoded on the browser request via HTTP API.
NO_IMAGES
          Embedded images are not rendered.
SERVER_PROCESSING
          Embedded images are transcoded together with a page that contains them (more accurate but slower).
 
Method Summary
static TranscodingUtils.ImageRendering valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TranscodingUtils.ImageRendering[] 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

NO_IMAGES

public static final TranscodingUtils.ImageRendering NO_IMAGES
Embedded images are not rendered.


CLIENT_PROCESSING

public static final TranscodingUtils.ImageRendering CLIENT_PROCESSING
Embedded images are transcoded on the browser request via HTTP API.


SERVER_PROCESSING

public static final TranscodingUtils.ImageRendering SERVER_PROCESSING
Embedded images are transcoded together with a page that contains them (more accurate but slower).

Method Detail

values

public static final TranscodingUtils.ImageRendering[] 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.ImageRendering c : TranscodingUtils.ImageRendering.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.ImageRendering 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