public interface MetadataFields extends Iterable<MetadataField>
Modifier and Type | Field and Description |
---|---|
static String |
AUTHOR
Name of special field type for document author
|
static String |
DATE
Name of special field type for document date
|
static String |
PID
Name of special field type for persistent identifier
|
static String |
TITLE
Name of special field type for document title
|
Modifier and Type | Method and Description |
---|---|
String |
defaultAnalyzerName()
Name of the default analyzer to use for metadata fields.
|
boolean |
exists(String name)
Does the specified field exist?
|
MetadataField |
get(String fieldName) |
MetadataFieldGroups |
groups() |
List<String> |
names() |
MetadataField |
special(String specialFieldType)
Returns the one of the special fields, if configured.
|
Stream<MetadataField> |
stream() |
forEach, iterator, spliterator
static final String PID
static final String TITLE
static final String AUTHOR
static final String DATE
String defaultAnalyzerName()
Stream<MetadataField> stream()
MetadataField get(String fieldName)
MetadataFieldGroups groups()
MetadataField special(String specialFieldType)
specialFieldType
- type of fieldboolean exists(String name)
name
- Copyright © 2020 Instituut voor Nederlandse Taal (INT). All rights reserved.