Enum TiffBlackAndWhiteQualityType
- java.lang.Object
-
- java.lang.Enum<TiffBlackAndWhiteQualityType>
-
- net.webpdf.wsclient.schema.operation.TiffBlackAndWhiteQualityType
-
- All Implemented Interfaces:
Serializable,Comparable<TiffBlackAndWhiteQualityType>
public enum TiffBlackAndWhiteQualityType extends Enum<TiffBlackAndWhiteQualityType>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">For "tif" exports, this parameter is used to define the quality of black-and-white images if "group3" or "group4" is used as a compression method. The higher the quality, the more time that will be required in order to render the image: <ul><li>low = Direct conversion (best reserved for "text only" content)</li><li>middle = A diffusion filter will be applied to the image before conversion</li><li>high = Greyscale conversion and a diffusion filter will be applied to the image before conversion</li></ul></p>Java class for TiffBlackAndWhiteQualityType
.The following schema fragment specifies the expected content contained within this class.
<simpleType name="TiffBlackAndWhiteQualityType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="low"/> <enumeration value="middle"/> <enumeration value="high"/> </restriction> </simpleType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TiffBlackAndWhiteQualityTypefromValue(String v)Gets the enum associated to the value passed as parameter.Stringvalue()Gets the value associated to the enum constant.static TiffBlackAndWhiteQualityTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TiffBlackAndWhiteQualityType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOW
public static final TiffBlackAndWhiteQualityType LOW
-
MIDDLE
public static final TiffBlackAndWhiteQualityType MIDDLE
-
HIGH
public static final TiffBlackAndWhiteQualityType HIGH
-
-
Method Detail
-
values
public static TiffBlackAndWhiteQualityType[] 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 (TiffBlackAndWhiteQualityType c : TiffBlackAndWhiteQualityType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TiffBlackAndWhiteQualityType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public String value()
Gets the value associated to the enum constant.- Returns:
- The value linked to the enum.
-
fromValue
public static TiffBlackAndWhiteQualityType fromValue(String v)
Gets the enum associated to the value passed as parameter.- Parameters:
v- The value to get the enum from.- Returns:
- The enum which corresponds to the value, if it exists.
- Throws:
IllegalArgumentException- If no value matches in the enum declaration.
-
-