public static void initEHF (@Nonnull final ValidationExecutorSetRegistry aRegistry)
  {
    ValueEnforcer.notNull (aRegistry, "Registry");

    // For better error messages
    LocationBeautifierSPI.addMappings (UBL21NamespaceContext.getInstance ());

    final boolean bNotDeprecated = false;
    aRegistry.registerValidationExecutorSet (ValidationExecutorSet.create (VID_EHF_CATALOGUE_1_0,
                                                                           "EHF Catalogue " +
                                                                                                  VID_EHF_CATALOGUE_1_0.getVersion (),
                                                                           bNotDeprecated,
                                                                           ValidationExecutorXSD.create (EUBL21DocumentType.CATALOGUE),
                                                                           _createXSLT (PeppolValidation370.CATALOGUE_RULES),
                                                                           _createXSLT (EHF_COMMON_V1),
                                                                           _createXSLT (CATALOGUE_V1_EHF)));
    aRegistry.registerValidationExecutorSet (ValidationExecutorSet.create (VID_EHF_CATALOGUE_RESPONSE_1_0,
                                                                           "EHF Catalogue Response " +
                                                                                                           VID_EHF_CATALOGUE_RESPONSE_1_0.getVersion (),
                                                                           bNotDeprecated,
                                                                           ValidationExecutorXSD.create (EUBL21DocumentType.APPLICATION_RESPONSE),
                                                                           _createXSLT (PeppolValidation370.CATALOGUE_RESPONSE_RULES),
                                                                           _createXSLT (EHF_COMMON_V1),
                                                                           _createXSLT (CATALOGUE_RESPONSE_V1_EHF)));
    aRegistry.registerValidationExecutorSet (ValidationExecutorSet.create (VID_EHF_CREDITNOTE_2_0,
                                                                           "EHF Creditnote " +
                                                                                                   VID_EHF_CREDITNOTE_2_0.getVersion (),
                                                                           bNotDeprecated,
                                                                           ValidationExecutorXSD.create (EUBL21DocumentType.CREDIT_NOTE),
                                                                           _createXSLT (PeppolValidation370.CREDIT_NOTE_RULES),
                                                                           _createXSLT (EHF_COMMON_V1),
                                                                           _createXSLT (CREDITNOTE_V2_EHF)));
    aRegistry.registerValidationExecutorSet (ValidationExecutorSet.create (VID_EHF_DESPATCH_ADVICE_1_0,
                                                                           "EHF Despatch Advice " +
                                                                                                        VID_EHF_DESPATCH_ADVICE_1_0.getVersion (),
                                                                           bNotDeprecated,
                                                                           ValidationExecutorXSD.create (EUBL21DocumentType.DESPATCH_ADVICE),
                                                                           _createXSLT (PeppolValidation370.DESPATCH_ADVICE_RULES),
                                                                           _createXSLT (EHF_COMMON_V1),
                                                                           _createXSLT (DESPATCH_ADVICE_V1_EHF)));
    aRegistry.registerValidationExecutorSet (ValidationExecutorSet.create (VID_EHF_INVOICE_2_0,
                                                                           "EHF Invoice " +
                                                                                                VID_EHF_INVOICE_2_0.getVersion (),
                                                                           bNotDeprecated,
                                                                           ValidationExecutorXSD.create (EUBL21DocumentType.INVOICE),
                                                                           _createXSLT (PeppolValidation370.INVOICE_RULES),
                                                                           _createXSLT (EHF_COMMON_V1),
                                                                           _createXSLT (INVOICE_V2_EHF)));
    aRegistry.registerValidationExecutorSet (ValidationExecutorSet.create (VID_EHF_ORDER_1_0,
                                                                           "EHF Ordering " +
                                                                                              VID_EHF_ORDER_1_0.getVersion (),
                                                                           bNotDeprecated,
                                                                           ValidationExecutorXSD.create (EUBL21DocumentType.ORDER),
                                                                           _createXSLT (PeppolValidation370.ORDER_RULES),
                                                                           _createXSLT (EHF_COMMON_V1),
                                                                           _createXSLT (ORDER_V1_EHF)));
    aRegistry.registerValidationExecutorSet (ValidationExecutorSet.create (VID_EHF_ORDER_AGREEMENT_1_0,
                                                                           "EHF Order Agreement " +
                                                                                                        VID_EHF_ORDER_AGREEMENT_1_0.getVersion (),
                                                                           bNotDeprecated,
                                                                           ValidationExecutorXSD.create (EUBL21DocumentType.ORDER_RESPONSE),
                                                                           _createXSLT (PeppolValidation370.ORDER_AGREEMENT_RULES),
                                                                           _createXSLT (EHF_COMMON_V1),
                                                                           _createXSLT (ORDER_AGREEMENT_V1_EHF)));
    aRegistry.registerValidationExecutorSet (ValidationExecutorSet.create (VID_EHF_ORDER_RESPONSE_1_0,
                                                                           "EHF Order Response " +
                                                                                                       VID_EHF_ORDER_RESPONSE_1_0.getVersion (),
                                                                           bNotDeprecated,
                                                                           ValidationExecutorXSD.create (EUBL21DocumentType.ORDER_RESPONSE),
                                                                           _createXSLT (PeppolValidation370.ORDER_RESPONSE_RULES),
                                                                           _createXSLT (EHF_COMMON_V1),
                                                                           _createXSLT (ORDER_RESPONSE_V1_EHF)));
    aRegistry.registerValidationExecutorSet (ValidationExecutorSet.create (VID_EHF_PUNCH_OUT_1_0,
                                                                           "EHF Punch Out " +
                                                                                                  VID_EHF_PUNCH_OUT_1_0.getVersion (),
                                                                           bNotDeprecated,
                                                                           ValidationExecutorXSD.create (EUBL21DocumentType.CATALOGUE),
                                                                           _createXSLT (PeppolValidation370.PUNCH_OUT_RULES),
                                                                           _createXSLT (EHF_COMMON_V1),
                                                                           _createXSLT (PUNCH_OUT_V1_EHF)));

    // Reminder is NOT in PEPPOL
    aRegistry.registerValidationExecutorSet (ValidationExecutorSet.create (VID_EHF_REMINDER_1_1,
                                                                           "EHF Reminder " +
                                                                                                 VID_EHF_REMINDER_1_1.getVersion (),
                                                                           bNotDeprecated,
                                                                           ValidationExecutorXSD.create (EUBL21DocumentType.REMINDER),
                                                                           _createXSLT (EHF_COMMON_V1),
                                                                           _createXSLT (REMINDER_V1_EHF)));
  }
public static void initEHF ( @ Nonnull final ValidationExecutorSetRegistry aRegistry ) { ValueEnforcer . notNull ( aRegistry , "Registry" ) ; LocationBeautifierSPI . addMappings ( UBL21NamespaceContext . getInstance ( ) ) ; final boolean bNotDeprecated = false ; aRegistry . registerValidationExecutorSet ( ValidationExecutorSet . create ( VID_EHF_CATALOGUE_1_0 , "EHF Catalogue " + VID_EHF_CATALOGUE_1_0 . getVersion ( ) , bNotDeprecated , ValidationExecutorXSD . create ( EUBL21DocumentType . CATALOGUE ) , _createXSLT ( PeppolValidation370 . CATALOGUE_RULES ) , _createXSLT ( EHF_COMMON_V1 ) , _createXSLT ( CATALOGUE_V1_EHF ) ) ) ; aRegistry . registerValidationExecutorSet ( ValidationExecutorSet . create ( VID_EHF_CATALOGUE_RESPONSE_1_0 , "EHF Catalogue Response " + VID_EHF_CATALOGUE_RESPONSE_1_0 . getVersion ( ) , bNotDeprecated , ValidationExecutorXSD . create ( EUBL21DocumentType . APPLICATION_RESPONSE ) , _createXSLT ( PeppolValidation370 . CATALOGUE_RESPONSE_RULES ) , _createXSLT ( EHF_COMMON_V1 ) , _createXSLT ( CATALOGUE_RESPONSE_V1_EHF ) ) ) ; aRegistry . registerValidationExecutorSet ( ValidationExecutorSet . create ( VID_EHF_CREDITNOTE_2_0 , "EHF Creditnote " + VID_EHF_CREDITNOTE_2_0 . getVersion ( ) , bNotDeprecated , ValidationExecutorXSD . create ( EUBL21DocumentType . CREDIT_NOTE ) , _createXSLT ( PeppolValidation370 . CREDIT_NOTE_RULES ) , _createXSLT ( EHF_COMMON_V1 ) , _createXSLT ( CREDITNOTE_V2_EHF ) ) ) ; aRegistry . registerValidationExecutorSet ( ValidationExecutorSet . create ( VID_EHF_DESPATCH_ADVICE_1_0 , "EHF Despatch Advice " + VID_EHF_DESPATCH_ADVICE_1_0 . getVersion ( ) , bNotDeprecated , ValidationExecutorXSD . create ( EUBL21DocumentType . DESPATCH_ADVICE ) , _createXSLT ( PeppolValidation370 . DESPATCH_ADVICE_RULES ) , _createXSLT ( EHF_COMMON_V1 ) , _createXSLT ( DESPATCH_ADVICE_V1_EHF ) ) ) ; aRegistry . registerValidationExecutorSet ( ValidationExecutorSet . create ( VID_EHF_INVOICE_2_0 , "EHF Invoice " + VID_EHF_INVOICE_2_0 . getVersion ( ) , bNotDeprecated , ValidationExecutorXSD . create ( EUBL21DocumentType . INVOICE ) , _createXSLT ( PeppolValidation370 . INVOICE_RULES ) , _createXSLT ( EHF_COMMON_V1 ) , _createXSLT ( INVOICE_V2_EHF ) ) ) ; aRegistry . registerValidationExecutorSet ( ValidationExecutorSet . create ( VID_EHF_ORDER_1_0 , "EHF Ordering " + VID_EHF_ORDER_1_0 . getVersion ( ) , bNotDeprecated , ValidationExecutorXSD . create ( EUBL21DocumentType . ORDER ) , _createXSLT ( PeppolValidation370 . ORDER_RULES ) , _createXSLT ( EHF_COMMON_V1 ) , _createXSLT ( ORDER_V1_EHF ) ) ) ; aRegistry . registerValidationExecutorSet ( ValidationExecutorSet . create ( VID_EHF_ORDER_AGREEMENT_1_0 , "EHF Order Agreement " + VID_EHF_ORDER_AGREEMENT_1_0 . getVersion ( ) , bNotDeprecated , ValidationExecutorXSD . create ( EUBL21DocumentType . ORDER_RESPONSE ) , _createXSLT ( PeppolValidation370 . ORDER_AGREEMENT_RULES ) , _createXSLT ( EHF_COMMON_V1 ) , _createXSLT ( ORDER_AGREEMENT_V1_EHF ) ) ) ; aRegistry . registerValidationExecutorSet ( ValidationExecutorSet . create ( VID_EHF_ORDER_RESPONSE_1_0 , "EHF Order Response " + VID_EHF_ORDER_RESPONSE_1_0 . getVersion ( ) , bNotDeprecated , ValidationExecutorXSD . create ( EUBL21DocumentType . ORDER_RESPONSE ) , _createXSLT ( PeppolValidation370 . ORDER_RESPONSE_RULES ) , _createXSLT ( EHF_COMMON_V1 ) , _createXSLT ( ORDER_RESPONSE_V1_EHF ) ) ) ; aRegistry . registerValidationExecutorSet ( ValidationExecutorSet . create ( VID_EHF_PUNCH_OUT_1_0 , "EHF Punch Out " + VID_EHF_PUNCH_OUT_1_0 . getVersion ( ) , bNotDeprecated , ValidationExecutorXSD . create ( EUBL21DocumentType . CATALOGUE ) , _createXSLT ( PeppolValidation370 . PUNCH_OUT_RULES ) , _createXSLT ( EHF_COMMON_V1 ) , _createXSLT ( PUNCH_OUT_V1_EHF ) ) ) ; aRegistry . registerValidationExecutorSet ( ValidationExecutorSet . create ( VID_EHF_REMINDER_1_1 , "EHF Reminder " + VID_EHF_REMINDER_1_1 . getVersion ( ) , bNotDeprecated , ValidationExecutorXSD . create ( EUBL21DocumentType . REMINDER ) , _createXSLT ( EHF_COMMON_V1 ) , _createXSLT ( REMINDER_V1_EHF ) ) ) ; }
Register all standard EHF validation execution sets to the provided
registry.

@param aRegistry
The registry to add the artefacts. May not be <code>null</code>.