org.specrunner.annotator.core
Class AnnotatorFactoryGroupImpl

java.lang.Object
  extended by org.specrunner.util.composite.core.CompositeImpl<IAnnotatorFactoryGroup,IAnnotatorFactory>
      extended by org.specrunner.annotator.core.AnnotatorFactoryGroupImpl
All Implemented Interfaces:
IAnnotatorFactory, IAnnotatorFactoryGroup, IComposite<IAnnotatorFactoryGroup,IAnnotatorFactory>

public class AnnotatorFactoryGroupImpl
extends CompositeImpl<IAnnotatorFactoryGroup,IAnnotatorFactory>
implements IAnnotatorFactoryGroup

Default annotator factory group implementation.

Author:
Thiago Santos

Constructor Summary
AnnotatorFactoryGroupImpl()
           
 
Method Summary
 IAnnotator newAnnotator()
          Creates an annotator.
 
Methods inherited from class org.specrunner.util.composite.core.CompositeImpl
add, getChildren, isEmpty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.specrunner.util.composite.IComposite
add, getChildren, isEmpty
 

Constructor Detail

AnnotatorFactoryGroupImpl

public AnnotatorFactoryGroupImpl()
Method Detail

newAnnotator

public IAnnotator newAnnotator()
                        throws AnnotatorException
Description copied from interface: IAnnotatorFactory
Creates an annotator.

Specified by:
newAnnotator in interface IAnnotatorFactory
Returns:
A annotator, can be a reused one or a brand new.
Throws:
AnnotatorException - On creation error.


Copyright © 2014. All rights reserved.