Class FormatCollector
java.lang.Object
com.e1c.langtool.v8.dt.bsl.stringliteral.AbstractStringLiteralLinesCollector
com.e1c.langtool.v8.dt.bsl.stringliteral.KeysCollector
com.e1c.langtool.v8.dt.bsl.stringliteral.DefaultStringLiteralCollector
com.e1c.langtool.v8.dt.bsl.stringliteral.FormatCollector
- All Implemented Interfaces:
TypedStringLiteralFeatureValueCollector
-
Field Summary
Fields inherited from class com.e1c.langtool.v8.dt.bsl.stringliteral.DefaultStringLiteralCollector
FQN_WORDFields inherited from class com.e1c.langtool.v8.dt.bsl.stringliteral.KeysCollector
KEYS_DELIM, SKIP_TYPES, SUPPORTED_TYPES, typeComputerFields inherited from class com.e1c.langtool.v8.dt.bsl.stringliteral.AbstractStringLiteralLinesCollector
resourceLookup -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisComputedValue(StringLiteral literal, String content, CollectingContext context) protected booleanbooleanisSupport(StringLiteral literal, Collection<LiteralType> types) Checks if collector is support given literal and it's types.protected booleanMethods inherited from class com.e1c.langtool.v8.dt.bsl.stringliteral.DefaultStringLiteralCollector
collectContent, createFeatureValue, getKeysMethods inherited from class com.e1c.langtool.v8.dt.bsl.stringliteral.KeysCollector
getContextDefCache, isKeyComputedMethods inherited from class com.e1c.langtool.v8.dt.bsl.stringliteral.AbstractStringLiteralLinesCollector
collect, createLiteralLinesContextTranslationKey, createLiteralLinesContextTranslationKey
-
Constructor Details
-
FormatCollector
public FormatCollector()
-
-
Method Details
-
isSupport
Description copied from interface:TypedStringLiteralFeatureValueCollectorChecks if collector is support given literal and it's types.- Specified by:
isSupportin interfaceTypedStringLiteralFeatureValueCollector- Overrides:
isSupportin classDefaultStringLiteralCollector- Parameters:
literal- the literaltypes- the types to check- Returns:
- true, if collector is support the literal
-
isLinesComputedByDefault
protected boolean isLinesComputedByDefault()- Overrides:
isLinesComputedByDefaultin classDefaultStringLiteralCollector
-
needToCollectByKeys
protected boolean needToCollectByKeys()- Overrides:
needToCollectByKeysin classDefaultStringLiteralCollector
-
isComputedValue
- Overrides:
isComputedValuein classDefaultStringLiteralCollector
-