public enum RedactionType extends Enum<RedactionType>
Represents a type of document's data, affected by redaction.
Enum Constant and Description |
---|
Annotation
The annotations within document's text.
|
ImageArea
The area within an image.
|
Metadata
The document's metadata.
|
Text
The document's body text.
|
Modifier and Type | Method and Description |
---|---|
static RedactionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedactionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedactionType Text
The document's body text.
public static final RedactionType Metadata
The document's metadata.
public static final RedactionType Annotation
The annotations within document's text.
public static final RedactionType ImageArea
The area within an image.
public static RedactionType[] values()
for (RedactionType c : RedactionType.values()) System.out.println(c);
public static RedactionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021. All rights reserved.