public abstract class TextPipeAnnotation extends Object
TextPipeAnnotation
are annotations and
annotatable. Annotations are a HashMap keyed on the class of the annotation,
adding a new annotation T extends TextPipeAnnotation
will be added to
the the list of Annotations of that class already added.Constructor and Description |
---|
TextPipeAnnotation() |
Modifier and Type | Method and Description |
---|---|
<T extends TextPipeAnnotation> |
addAllAnnotations(Collection<T> annotationCollection) |
<T extends TextPipeAnnotation> |
addAnnotation(T annotation) |
Set<Class<? extends TextPipeAnnotation>> |
getAnnotationKeyList() |
<T extends TextPipeAnnotation> |
getAnnotationsFor(Class<T> key) |
public TextPipeAnnotation()
public <T extends TextPipeAnnotation> void addAnnotation(T annotation)
public <T extends TextPipeAnnotation> void addAllAnnotations(Collection<T> annotationCollection)
public <T extends TextPipeAnnotation> List<T> getAnnotationsFor(Class<T> key)
public Set<Class<? extends TextPipeAnnotation>> getAnnotationKeyList()