Package org.apache.uima.tools.viewer
Interface EntityResolver.Entity
- Enclosing interface:
EntityResolver
public static interface EntityResolver.Entity
Object representing an Entity. Annotations whose
Entity
objects are
equal
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
your Entity
objects must implement Object.equals(Object)
and
Object.hashCode()
.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the canonical form String for an Entity.
-
Method Details
-
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
-