Package org.apache.fop.render.afp
Enum AFPRendererOption
- java.lang.Object
-
- java.lang.Enum<AFPRendererOption>
-
- org.apache.fop.render.afp.AFPRendererOption
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AFPRendererOption>
,RendererConfigOption
public enum AFPRendererOption extends java.lang.Enum<AFPRendererOption> implements RendererConfigOption
An enumeration of the configuration options available for the AFP renderer.
-
-
Enum Constant Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
AFPRendererOption(java.lang.String name, java.lang.Class<?> type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getDefaultValue()
java.lang.String
getName()
The name of the option.java.lang.Class<?>
getType()
static AFPRendererOption
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AFPRendererOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT_RESOURCE_LEVELS
public static final AFPRendererOption DEFAULT_RESOURCE_LEVELS
-
IMAGES
public static final AFPRendererOption IMAGES
-
IMAGES_JPEG
public static final AFPRendererOption IMAGES_JPEG
-
IMAGES_DITHERING_QUALITY
public static final AFPRendererOption IMAGES_DITHERING_QUALITY
-
IMAGES_FS45
public static final AFPRendererOption IMAGES_FS45
-
IMAGES_MAPPING_OPTION
public static final AFPRendererOption IMAGES_MAPPING_OPTION
-
IMAGES_MODE
public static final AFPRendererOption IMAGES_MODE
-
IMAGES_NATIVE
public static final AFPRendererOption IMAGES_NATIVE
-
IMAGES_WRAP_PSEG
public static final AFPRendererOption IMAGES_WRAP_PSEG
-
JPEG_ALLOW_JPEG_EMBEDDING
public static final AFPRendererOption JPEG_ALLOW_JPEG_EMBEDDING
-
JPEG_BITMAP_ENCODING_QUALITY
public static final AFPRendererOption JPEG_BITMAP_ENCODING_QUALITY
-
RENDERER_RESOLUTION
public static final AFPRendererOption RENDERER_RESOLUTION
-
RESOURCE_GROUP_URI
public static final AFPRendererOption RESOURCE_GROUP_URI
-
SHADING
public static final AFPRendererOption SHADING
-
LINE_WIDTH_CORRECTION
public static final AFPRendererOption LINE_WIDTH_CORRECTION
-
GOCA
public static final AFPRendererOption GOCA
-
GOCA_WRAP_PSEG
public static final AFPRendererOption GOCA_WRAP_PSEG
-
GOCA_TEXT
public static final AFPRendererOption GOCA_TEXT
-
-
Method Detail
-
values
public static AFPRendererOption[] 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 (AFPRendererOption c : AFPRendererOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AFPRendererOption 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 namejava.lang.NullPointerException
- if the argument is null
-
getName
public java.lang.String getName()
The name of the option.}- Specified by:
getName
in interfaceRendererConfigOption
-
getType
public java.lang.Class<?> getType()
-
getDefaultValue
public java.lang.Object getDefaultValue()
- Specified by:
getDefaultValue
in interfaceRendererConfigOption
-
-