public enum Permission extends java.lang.Enum<Permission> implements Flag
Enum Constant and Description |
---|
ANNOTATE
Allow annotations.
|
ASSEMBLE
Allow document assembly.
|
COPY
Allow content copying or extraction.
|
DIGITAL_PRINT
Allow high resolution printing.
|
FILL_FORMS
Allow filling of form fields.
|
MODIFY
Allow changing the document.
|
PRINT
Allow low resolution printing.
|
SUPPORT_DISABILITIES
Allow support for disabilities.
|
Modifier and Type | Method and Description |
---|---|
int |
getFlag() |
static Permission |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Permission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Permission PRINT
public static final Permission MODIFY
public static final Permission COPY
public static final Permission ANNOTATE
public static final Permission FILL_FORMS
public static final Permission SUPPORT_DISABILITIES
public static final Permission ASSEMBLE
public static final Permission DIGITAL_PRINT
public static Permission[] values()
for (Permission c : Permission.values()) System.out.println(c);
public static Permission valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null