Class MarkingExtractor
java.lang.Object
org.codice.alliance.security.banner.marking.MarkingExtractor
- All Implemented Interfaces:
ddf.catalog.content.operation.ContentMetadataExtractor
- Direct Known Subclasses:
BannerCommonMarkingExtractor,Dod520001MarkingExtractor
public abstract class MarkingExtractor
extends Object
implements ddf.catalog.content.operation.ContentMetadataExtractor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<Serializable> dedupedList(Collection<? extends Serializable> collA, Collection<? extends Serializable> collB) voidprocess(InputStream input, ddf.catalog.data.Metacard metacard) voidprotected voidsetAttProcessors(Map<String, BiFunction<ddf.catalog.data.Metacard, BannerMarkings, ddf.catalog.data.Attribute>> attProcessors) translateClassification(ClassificationLevel classLevel, boolean isNato, String natoQualifier) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ddf.catalog.content.operation.ContentMetadataExtractor
getMetacardAttributes
-
Constructor Details
-
MarkingExtractor
public MarkingExtractor()
-
-
Method Details
-
process
- Specified by:
processin interfaceddf.catalog.content.operation.ContentMetadataExtractor
-
process
- Specified by:
processin interfaceddf.catalog.content.operation.ContentMetadataExtractor
-
translateClassification
public String translateClassification(ClassificationLevel classLevel, boolean isNato, String natoQualifier) -
setAttProcessors
protected void setAttProcessors(Map<String, BiFunction<ddf.catalog.data.Metacard, BannerMarkings, ddf.catalog.data.Attribute>> attProcessors) -
dedupedList
protected List<Serializable> dedupedList(Collection<? extends Serializable> collA, Collection<? extends Serializable> collB)
-