public class CasAnnotationViewer.DefaultEntityResolver extends Object implements EntityResolver
EntityResolver.Entity| Constructor and Description |
|---|
DefaultEntityResolver() |
| Modifier and Type | Method and Description |
|---|---|
EntityResolver.Entity |
getEntity(org.apache.uima.jcas.tcas.Annotation inAnnotation)
Returns the
Entity to which an annotation refers. |
public EntityResolver.Entity getEntity(org.apache.uima.jcas.tcas.Annotation inAnnotation)
EntityResolverEntity to which an annotation refers.
Returns the canonical form String for an annotation.
For two annotations that refer to the same Entity, this should return Entity
objects that are equal.
If the annotation does not represent an entity at all, null should be returned.
getEntity in interface EntityResolverinAnnotation - the annotation to resolveCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.