public interface EntityResolver
In the viewer, all annotations whose Entity objects are equal
will be
displayed in the same color, and the Entity's canonical form will be shown in the legend.
Modifier and Type | Interface and Description |
---|---|
static interface |
EntityResolver.Entity
Object representing an Entity.
|
Modifier and Type | Method and Description |
---|---|
EntityResolver.Entity |
getEntity(Annotation aAnnotation)
Returns the
Entity to which an annotation refers. |
EntityResolver.Entity getEntity(Annotation aAnnotation)
Entity
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.
aAnnotation
- the annotation to resolveCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.