Package org.opensextant.extractors.geo
Enum PlaceEvidence.Scope
- All Implemented Interfaces:
Serializable
,Comparable<PlaceEvidence.Scope>
,java.lang.constant.Constable
- Enclosing class:
- PlaceEvidence
SCOPE - Where did this evidence come from wrt to the PlaceCandidate it is
part of?
- APRIORI - derived from the gazetteer only, not from any information in the document
- LOCAL - directly associated with this instance of PC
- COREF - associated with another (related) PC in the document
- MERGED - came from the merger of multiple PlaceEvidences (future use)
- DOCUMENT - in the same document but has no other direct association
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PlaceEvidence.Scope
Returns the enum constant of this type with the specified name.static PlaceEvidence.Scope[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
APRIORI
-
LOCAL
-
COREF
-
MERGED
-
DOCUMENT
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-