public enum EntityCollector extends Enum<EntityCollector>
Modifier and Type | Class and Description |
---|---|
static class |
EntityCollector.Entity
Holds basic information from an IdentifiedAnnotation.
|
static class |
EntityCollector.EntityCollectorEngine
Analysis Engine that stores collections of cuis by document id in the CuiCollector
|
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getDocumentIds() |
Collection<EntityCollector.Entity> |
getEntities(String documentId) |
static EntityCollector |
getInstance() |
String |
toString() |
static EntityCollector |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityCollector[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityCollector INSTANCE
public static EntityCollector[] values()
for (EntityCollector c : EntityCollector.values()) System.out.println(c);
public static EntityCollector 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 nullpublic static EntityCollector getInstance()
public Collection<String> getDocumentIds()
public Collection<EntityCollector.Entity> getEntities(String documentId)
documentId
- id for some documentpublic String toString()
toString
in class Enum<EntityCollector>
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.