Package com.levigo.jadice.server.pdf
Enum EmbedAttachmentsNode.MissingAttachmentsHandlingMode
- java.lang.Object
-
- java.lang.Enum<EmbedAttachmentsNode.MissingAttachmentsHandlingMode>
-
- com.levigo.jadice.server.pdf.EmbedAttachmentsNode.MissingAttachmentsHandlingMode
-
- All Implemented Interfaces:
Serializable
,Comparable<EmbedAttachmentsNode.MissingAttachmentsHandlingMode>
- Enclosing class:
- EmbedAttachmentsNode
public static enum EmbedAttachmentsNode.MissingAttachmentsHandlingMode extends Enum<EmbedAttachmentsNode.MissingAttachmentsHandlingMode>
Determine which action shall be performed when there is no stream available that can be embedded.- Since:
- 5.7.3.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EmbedAttachmentsNode.MissingAttachmentsHandlingMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static EmbedAttachmentsNode.MissingAttachmentsHandlingMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IGNORE
public static final EmbedAttachmentsNode.MissingAttachmentsHandlingMode IGNORE
Just accept that there is no stream to embed.
-
FAIL
public static final EmbedAttachmentsNode.MissingAttachmentsHandlingMode FAIL
Fail if there is no stream to embed.
-
-
Method Detail
-
values
public static EmbedAttachmentsNode.MissingAttachmentsHandlingMode[] 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 (EmbedAttachmentsNode.MissingAttachmentsHandlingMode c : EmbedAttachmentsNode.MissingAttachmentsHandlingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EmbedAttachmentsNode.MissingAttachmentsHandlingMode 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
-
-