Package com.e1c.langtool.v8.dt.md.style
Class StyleFeatureCollectorFactory
java.lang.Object
com.e1c.langtool.v8.dt.md.style.StyleFeatureCollectorFactory
- All Implemented Interfaces:
FeatureCollectorFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCollectors(Object obj, ICollectingParameters parameters, BiConsumer<Object, FeatureValue> addAction) Creates a new set ofIFeatureCollectorobjects.booleanChecks if given object is support by factory and can create collector.
-
Constructor Details
-
StyleFeatureCollectorFactory
public StyleFeatureCollectorFactory()
-
-
Method Details
-
isSupport
Description copied from interface:FeatureCollectorFactoryChecks if given object is support by factory and can create collector.- Specified by:
isSupportin interfaceFeatureCollectorFactory- Parameters:
obj- the object to check- Returns:
- true, if the object is support
-
createCollectors
public Set<FeatureValueCollector> createCollectors(Object obj, ICollectingParameters parameters, BiConsumer<Object, FeatureValue> addAction) Description copied from interface:FeatureCollectorFactoryCreates a new set ofIFeatureCollectorobjects.- Specified by:
createCollectorsin interfaceFeatureCollectorFactory- Parameters:
obj- the object- Returns:
- the features collector, can return
null.
-