public enum DocumentSourceKind extends Enum<DocumentSourceKind>
Defines the kinds of document sources.
Enum Constant and Description |
---|
File
The file document source.
|
Stream
The stream document source.
|
Structure
The structure document source.
|
Modifier and Type | Method and Description |
---|---|
static DocumentSourceKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentSourceKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentSourceKind File
The file document source.
public static final DocumentSourceKind Stream
The stream document source.
public static final DocumentSourceKind Structure
The structure document source.
public static DocumentSourceKind[] values()
for (DocumentSourceKind c : DocumentSourceKind.values()) System.out.println(c);
public static DocumentSourceKind 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 null