Package org.codice.alliance.libs.klv
Class OffsetCenterPostProcessor
java.lang.Object
org.codice.alliance.libs.klv.OffsetCenterPostProcessor
- All Implemented Interfaces:
PostProcessor
Use frame center and offset corner data to calculate the corner data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpostProcess(Map<String, org.codice.ddf.libs.klv.KlvDataElement> dataElements, Map<String, KlvHandler> handlers) A typical implementation would search dataElements for specific instances, calculate a new value, and then call the KlvHandler in handlers that corresponds to the new data.
-
Constructor Details
-
OffsetCenterPostProcessor
public OffsetCenterPostProcessor()
-
-
Method Details
-
postProcess
public void postProcess(Map<String, org.codice.ddf.libs.klv.KlvDataElement> dataElements, Map<String, KlvHandler> handlers) Description copied from interface:PostProcessorA typical implementation would search dataElements for specific instances, calculate a new value, and then call the KlvHandler in handlers that corresponds to the new data.- Specified by:
postProcessin interfacePostProcessor- Parameters:
dataElements- map of klv data element names to klv data elements that were retrieved from the current klv metadata packethandlers- map of klv data element names to the handlers that process the klv data elements
-