public abstract class AbstractAnnotatorDecorator extends Object implements AnnotatorDecorator
AnnotatorDecorator.| Modifier and Type | Field and Description |
|---|---|
protected Annotator |
decoratedAnnotator |
| Constructor and Description |
|---|
AbstractAnnotatorDecorator(Annotator decoratedAnnotator) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Annotator |
getDecoratedAnnotator()
Returns the decorated
Annotator. |
String |
getName() |
void |
setClosePermitionGranter(ClosePermitionGranter granter) |
void |
setName(String name) |
protected Annotator decoratedAnnotator
public AbstractAnnotatorDecorator(Annotator decoratedAnnotator)
public Annotator getDecoratedAnnotator()
AnnotatorDecoratorAnnotator.getDecoratedAnnotator in interface AnnotatorDecoratorpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void setClosePermitionGranter(ClosePermitionGranter granter)
setClosePermitionGranter in interface AnnotatorCopyright © 2014–2017. All rights reserved.