Package cz.vutbr.fit.layout.text.op
Class TagEntitiesOperator
- java.lang.Object
-
- cz.vutbr.fit.layout.impl.BaseService
-
- cz.vutbr.fit.layout.impl.BaseParametrizedOperation
-
- cz.vutbr.fit.layout.impl.BaseOperator
-
- cz.vutbr.fit.layout.text.op.TagEntitiesOperator
-
- All Implemented Interfaces:
AreaTreeOperator,ParametrizedOperation,ScriptObject,Service
public class TagEntitiesOperator extends BaseOperator implements ScriptObject
- Author:
- burgetr
-
-
Constructor Summary
Constructors Constructor Description TagEntitiesOperator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTagger(Tagger tagger)Registers a new tagger that should be used by this operator.voidaddTaggers(Collection<Tagger> taggers)Registers a collection of taggers that should be used by this operator.voidapply(AreaTree atree)voidapply(AreaTree atree, Area root)voidclearTaggers()Unregisters all taggers from the operator.StringgetCategory()StringgetDescription()StringgetId()StringgetName()StringgetVarName()voidsetIO(Reader in, Writer out, Writer err)-
Methods inherited from class cz.vutbr.fit.layout.impl.BaseOperator
toString
-
Methods inherited from class cz.vutbr.fit.layout.impl.BaseParametrizedOperation
defineParams, getParam, getParams, getParamString, setParam
-
Methods inherited from class cz.vutbr.fit.layout.impl.BaseService
getServiceManager, setServiceManager
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface cz.vutbr.fit.layout.api.ParametrizedOperation
getParam, getParams, getParamString, setParam
-
Methods inherited from interface cz.vutbr.fit.layout.api.Service
setServiceManager
-
-
-
-
Method Detail
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceService
-
getCategory
public String getCategory()
- Specified by:
getCategoryin interfaceService
-
addTagger
public void addTagger(Tagger tagger)
Registers a new tagger that should be used by this operator.- Parameters:
tagger- the tagger instance to be added
-
addTaggers
public void addTaggers(Collection<Tagger> taggers)
Registers a collection of taggers that should be used by this operator.- Parameters:
taggers- the collection of tagger instances to be added
-
clearTaggers
public void clearTaggers()
Unregisters all taggers from the operator.
-
apply
public void apply(AreaTree atree)
- Specified by:
applyin interfaceAreaTreeOperator
-
apply
public void apply(AreaTree atree, Area root)
- Specified by:
applyin interfaceAreaTreeOperator
-
getVarName
public String getVarName()
- Specified by:
getVarNamein interfaceScriptObject
-
setIO
public void setIO(Reader in, Writer out, Writer err)
- Specified by:
setIOin interfaceScriptObject
-
-