@DoNotObfuscate public enum AccessPermission extends java.lang.Enum<AccessPermission>
Enum Constant and Description |
---|
ALLOW_SCREENREADERS |
ASSEMBLE_DOCUMENTS |
EXTRACT_CONTENT |
FILL_IN |
MODIFY_ANNOTATIONS |
MODIFY_CONTENT |
PRINT_DEGRADED_ONLY |
PRINT_IN_HIGHQUALITY |
Modifier and Type | Method and Description |
---|---|
int |
getMaskedValue(int permissionValue)
This method takes the given parameter and executes a binary AND with
the value of the predefined access permission.
|
static AccessPermission |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccessPermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessPermission PRINT_DEGRADED_ONLY
public static final AccessPermission PRINT_IN_HIGHQUALITY
public static final AccessPermission MODIFY_CONTENT
public static final AccessPermission EXTRACT_CONTENT
public static final AccessPermission MODIFY_ANNOTATIONS
public static final AccessPermission FILL_IN
public static final AccessPermission ALLOW_SCREENREADERS
public static final AccessPermission ASSEMBLE_DOCUMENTS
public static AccessPermission[] values()
for (AccessPermission c : AccessPermission.values()) System.out.println(c);
public static AccessPermission 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 nullpublic int getMaskedValue(int permissionValue)
Copyright (C) PDFUnit.com. See here for license.