public class AnnotatorFactoryImpl extends Object implements IAnnotatorFactory
| Modifier and Type | Field and Description |
|---|---|
protected IAnnotator |
annotator
Reused annotator.
|
| Constructor and Description |
|---|
AnnotatorFactoryImpl(IAnnotator annotator)
Creates a new annotator factory.
|
| Modifier and Type | Method and Description |
|---|---|
IAnnotator |
getAnnotator()
Gets the annotator.
|
IAnnotator |
newAnnotator()
Creates an annotator.
|
void |
setAnnotator(IAnnotator annotator)
Set the annotator.
|
protected IAnnotator annotator
public AnnotatorFactoryImpl(IAnnotator annotator)
annotator - The annotator.public IAnnotator getAnnotator()
public void setAnnotator(IAnnotator annotator)
annotator - The annotator.public IAnnotator newAnnotator() throws AnnotatorException
IAnnotatorFactorynewAnnotator in interface IAnnotatorFactoryAnnotatorException - On creation error.Copyright © 2016. All rights reserved.