Package org.apache.uima.tools.viewer
Interface EntityResolver.Entity
-
- Enclosing interface:
- EntityResolver
public static interface EntityResolver.Entity
Object representing an Entity. Annotations whoseEntity
objects areequal
will be displayed in the same color in the viewer.This means that either the
EntityResolver
must return the identical (==
)Entity
object for annotations belonging to the same entity, or yourEntity
objects must implementObject.equals(Object)
andObject.hashCode()
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCanonicalForm()
Returns the canonical form String for an Entity.
-
-
-
Method Detail
-
getCanonicalForm
String getCanonicalForm()
Returns the canonical form String for an Entity. This string will be displayed in the legend.- Returns:
- the canonical form of the entity
-
-