Search in sources :

Example 1 with BaseKlvProcessorVisitor

use of org.codice.alliance.libs.klv.BaseKlvProcessorVisitor in project alliance by codice.

the class MpegTsInputTransformer method setSecurityClassificationDefault.

public void setSecurityClassificationDefault(String classification) {
    notNull(classification, CLASSIFICATION_MUST_BE_NON_NULL);
    klvProcessor.accept(new BaseKlvProcessorVisitor() {

        @Override
        public void visit(SecurityClassificationKlvProcessor securityClassificationKlvProcessor) {
            securityClassificationKlvProcessor.setDefaultSecurityClassification(classification);
        }
    });
}
Also used : BaseKlvProcessorVisitor(org.codice.alliance.libs.klv.BaseKlvProcessorVisitor) SecurityClassificationKlvProcessor(org.codice.alliance.libs.klv.SecurityClassificationKlvProcessor)

Aggregations

BaseKlvProcessorVisitor (org.codice.alliance.libs.klv.BaseKlvProcessorVisitor)1 SecurityClassificationKlvProcessor (org.codice.alliance.libs.klv.SecurityClassificationKlvProcessor)1