Package net.webpdf.wsclient.openapi
Enum OperationConverterHtml.ImageModeEnum
- java.lang.Object
-
- java.lang.Enum<OperationConverterHtml.ImageModeEnum>
-
- net.webpdf.wsclient.openapi.OperationConverterHtml.ImageModeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationConverterHtml.ImageModeEnum>
- Enclosing class:
- OperationConverterHtml
public static enum OperationConverterHtml.ImageModeEnum extends Enum<OperationConverterHtml.ImageModeEnum>
This defines how downloaded images are inserted into the HTML content (with reference to the `<downloadImages>` parameter). When referencing large images in the HTML content, it is recommended to use `<file>` to reduce the size of the HTML file and speed up the rendering of the HTML. * base64 = embed images as BASE64 content * file = embed images as file links to local temporary files
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationConverterHtml.ImageModeEnumfromValue(String value)StringgetValue()StringtoString()static OperationConverterHtml.ImageModeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationConverterHtml.ImageModeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASE64
public static final OperationConverterHtml.ImageModeEnum BASE64
-
FILE
public static final OperationConverterHtml.ImageModeEnum FILE
-
-
Method Detail
-
values
public static OperationConverterHtml.ImageModeEnum[] 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 (OperationConverterHtml.ImageModeEnum c : OperationConverterHtml.ImageModeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationConverterHtml.ImageModeEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<OperationConverterHtml.ImageModeEnum>
-
fromValue
public static OperationConverterHtml.ImageModeEnum fromValue(String value)
-
-