Package net.webpdf.wsclient.openapi
Enum OperationToolboxMergeMerge.ModeEnum
- java.lang.Object
-
- java.lang.Enum<OperationToolboxMergeMerge.ModeEnum>
-
- net.webpdf.wsclient.openapi.OperationToolboxMergeMerge.ModeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationToolboxMergeMerge.ModeEnum>
- Enclosing class:
- OperationToolboxMergeMerge
public static enum OperationToolboxMergeMerge.ModeEnum extends Enum<OperationToolboxMergeMerge.ModeEnum>
Defines the mode used to merge the PDF documents. The PDF document passed with the \"data\" element will be appended to the current PDF document or inserted at a specific point. The following modes define the position where the documents will be inserted. Instead of a single base document, the \"portfolio\" mode always expects a ZIP archive. The elements in this archive will be added, all with identical permissions, to the resulting portfolio (the data element is not required at all for \"portfolio\"). * atTheEnd = At the end of the PDF document * atTheBeginning = At the beginning of the PDF document * afterPage = After a page (please refer to the \"page\" attribute) in the PDF document * beforePage = Before a page (please refer to the \"page\" attribute) in the PDF document
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTERPAGEATTHEBEGINNINGATTHEENDBEFOREPAGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationToolboxMergeMerge.ModeEnumfromValue(String value)StringgetValue()StringtoString()static OperationToolboxMergeMerge.ModeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationToolboxMergeMerge.ModeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ATTHEEND
public static final OperationToolboxMergeMerge.ModeEnum ATTHEEND
-
ATTHEBEGINNING
public static final OperationToolboxMergeMerge.ModeEnum ATTHEBEGINNING
-
AFTERPAGE
public static final OperationToolboxMergeMerge.ModeEnum AFTERPAGE
-
BEFOREPAGE
public static final OperationToolboxMergeMerge.ModeEnum BEFOREPAGE
-
-
Method Detail
-
values
public static OperationToolboxMergeMerge.ModeEnum[] 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 (OperationToolboxMergeMerge.ModeEnum c : OperationToolboxMergeMerge.ModeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationToolboxMergeMerge.ModeEnum 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<OperationToolboxMergeMerge.ModeEnum>
-
fromValue
public static OperationToolboxMergeMerge.ModeEnum fromValue(String value)
-
-