Package cz.vutbr.fit.layout.text.taggers
Class DateTagger
- java.lang.Object
-
- cz.vutbr.fit.layout.impl.BaseService
-
- cz.vutbr.fit.layout.impl.BaseParametrizedOperation
-
- cz.vutbr.fit.layout.text.taggers.BaseTagger
-
- cz.vutbr.fit.layout.text.taggers.DateTagger
-
- All Implemented Interfaces:
ParametrizedOperation,Service,Tagger
public class DateTagger extends BaseTagger
- Author:
- burgetr
-
-
Constructor Summary
Constructors Constructor Description DateTagger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallowsContinuation(Area node)booleanallowsJoining()floatbelongsTo(Area node)List<TagOccurrence>extract(String src)List<Date>extractDates(String s)StringgetDescription()StringgetId()StringgetName()TextTaggetTag()booleanmayCoexistWith(Tag other)-
Methods inherited from class cz.vutbr.fit.layout.text.taggers.BaseTagger
getCategory, 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
-
-
-
-
Field Detail
-
dateexpr
protected Pattern[] dateexpr
-
-
Method Detail
-
getId
public String getId()
-
getName
public String getName()
-
getDescription
public String getDescription()
-
getTag
public TextTag getTag()
-
belongsTo
public float belongsTo(Area node)
-
allowsContinuation
public boolean allowsContinuation(Area node)
-
allowsJoining
public boolean allowsJoining()
-
mayCoexistWith
public boolean mayCoexistWith(Tag other)
-
extract
public List<TagOccurrence> extract(String src)
-
-