Enum ExternalResourceType
- java.lang.Object
-
- java.lang.Enum<ExternalResourceType>
-
- com.openhtmltopdf.outputdevice.helper.ExternalResourceType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExternalResourceType>
public enum ExternalResourceType extends java.lang.Enum<ExternalResourceType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BINARY
CSS
FILE_EMBED
FONT
IMAGE_RASTER
PDF
SVG_BINARY
XML_SVG
XML_XHTML
-
Constructor Summary
Constructors Modifier Constructor Description private
ExternalResourceType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExternalResourceType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExternalResourceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FONT
public static final ExternalResourceType FONT
-
FILE_EMBED
public static final ExternalResourceType FILE_EMBED
-
CSS
public static final ExternalResourceType CSS
-
IMAGE_RASTER
public static final ExternalResourceType IMAGE_RASTER
-
XML_XHTML
public static final ExternalResourceType XML_XHTML
-
XML_SVG
public static final ExternalResourceType XML_SVG
-
BINARY
public static final ExternalResourceType BINARY
-
PDF
public static final ExternalResourceType PDF
-
SVG_BINARY
public static final ExternalResourceType SVG_BINARY
-
-
Method Detail
-
values
public static ExternalResourceType[] 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 (ExternalResourceType c : ExternalResourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExternalResourceType 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
-
-