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

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

    final boolean bDeprecated = true;
    final boolean bNotDeprecated = false;

    aRegistry.registerValidationExecutorSet (ValidationExecutorSet.create (VID_CII_100,
                                                                           "EN 16931 CII " + VID_CII_100.getVersion (),
                                                                           bDeprecated,
                                                                           ValidationExecutorXSD.create (ECIID16BDocumentType.CROSS_INDUSTRY_INVOICE),
                                                                           new ValidationExecutorSchematron (new ValidationArtefact (EValidationType.SCHEMATRON_XSLT,
                                                                                                                                     _getCL (),
                                                                                                                                     INVOICE_CII_100_XSLT),
                                                                                                             null,
                                                                                                             CIID16BNamespaceContext.getInstance ())));
    aRegistry.registerValidationExecutorSet (ValidationExecutorSet.create (VID_CII_110,
                                                                           "EN 16931 CII " + VID_CII_110.getVersion (),
                                                                           bDeprecated,
                                                                           ValidationExecutorXSD.create (ECIID16BDocumentType.CROSS_INDUSTRY_INVOICE),
                                                                           new ValidationExecutorSchematron (new ValidationArtefact (EValidationType.SCHEMATRON_XSLT,
                                                                                                                                     _getCL (),
                                                                                                                                     INVOICE_CII_110_XSLT),
                                                                                                             null,
                                                                                                             CIID16BNamespaceContext.getInstance ())));
    aRegistry.registerValidationExecutorSet (ValidationExecutorSet.create (VID_CII_120,
                                                                           "EN 16931 CII " + VID_CII_120.getVersion (),
                                                                           bNotDeprecated,
                                                                           ValidationExecutorXSD.create (ECIID16BDocumentType.CROSS_INDUSTRY_INVOICE),
                                                                           new ValidationExecutorSchematron (new ValidationArtefact (EValidationType.SCHEMATRON_XSLT,
                                                                                                                                     _getCL (),
                                                                                                                                     INVOICE_CII_120_XSLT),
                                                                                                             null,
                                                                                                             CIID16BNamespaceContext.getInstance ())));

    aRegistry.registerValidationExecutorSet (ValidationExecutorSet.create (VID_EDIFACT_100,
                                                                           "EN 16931 EDIFACT/ISO 20625 " +
                                                                                            VID_EDIFACT_100.getVersion (),
                                                                           bNotDeprecated,
                                                                           ValidationExecutorXSD.create (new JAXBDocumentType (MINVOIC.class,
                                                                                                                               new CommonsArrayList <> (new ClassPathResource ("/schemas/INVOIC_D14B_ISO20625.xsd",
                                                                                                                                                                               _getCL ())),
                                                                                                                               null)),
                                                                           new ValidationExecutorSchematron (new ValidationArtefact (EValidationType.SCHEMATRON_XSLT,
                                                                                                                                     _getCL (),
                                                                                                                                     INVOICE_EDIFACT_100_XSLT),
                                                                                                             null,
                                                                                                             null)));

    // Pure is quicker than XSLT
    aRegistry.registerValidationExecutorSet (ValidationExecutorSet.create (VID_UBL_INVOICE_100,
                                                                           "EN 16931 UBL Invoice " +
                                                                                                VID_UBL_INVOICE_100.getVersion (),
                                                                           bDeprecated,
                                                                           ValidationExecutorXSD.create (EUBL21DocumentType.INVOICE),
                                                                           new ValidationExecutorSchematron (new ValidationArtefact (EValidationType.SCHEMATRON_XSLT,
                                                                                                                                     _getCL (),
                                                                                                                                     INVOICE_UBL_100_XSLT),
                                                                                                             null,
                                                                                                             UBL21NamespaceContext.getInstance ())));
    aRegistry.registerValidationExecutorSet (ValidationExecutorSet.create (VID_UBL_CREDIT_NOTE_100,
                                                                           "EN 16931 UBL CreditNote " +
                                                                                                    VID_UBL_CREDIT_NOTE_100.getVersion (),
                                                                           bDeprecated,
                                                                           ValidationExecutorXSD.create (EUBL21DocumentType.CREDIT_NOTE),
                                                                           new ValidationExecutorSchematron (new ValidationArtefact (EValidationType.SCHEMATRON_XSLT,
                                                                                                                                     _getCL (),
                                                                                                                                     INVOICE_UBL_110_XSLT),
                                                                                                             null,
                                                                                                             UBL21NamespaceContext.getInstance ())));
    aRegistry.registerValidationExecutorSet (ValidationExecutorSet.create (VID_UBL_INVOICE_110,
                                                                           "EN 16931 UBL Invoice " +
                                                                                                VID_UBL_INVOICE_110.getVersion (),
                                                                           bDeprecated,
                                                                           ValidationExecutorXSD.create (EUBL21DocumentType.INVOICE),
                                                                           new ValidationExecutorSchematron (new ValidationArtefact (EValidationType.SCHEMATRON_XSLT,
                                                                                                                                     _getCL (),
                                                                                                                                     INVOICE_UBL_110_XSLT),
                                                                                                             null,
                                                                                                             UBL21NamespaceContext.getInstance ())));
    aRegistry.registerValidationExecutorSet (ValidationExecutorSet.create (VID_UBL_CREDIT_NOTE_110,
                                                                           "EN 16931 UBL CreditNote " +
                                                                                                    VID_UBL_CREDIT_NOTE_110.getVersion (),
                                                                           bDeprecated,
                                                                           ValidationExecutorXSD.create (EUBL21DocumentType.CREDIT_NOTE),
                                                                           new ValidationExecutorSchematron (new ValidationArtefact (EValidationType.SCHEMATRON_XSLT,
                                                                                                                                     _getCL (),
                                                                                                                                     INVOICE_UBL_110_XSLT),
                                                                                                             null,
                                                                                                             UBL21NamespaceContext.getInstance ())));
    aRegistry.registerValidationExecutorSet (ValidationExecutorSet.create (VID_UBL_INVOICE_120,
                                                                           "EN 16931 UBL Invoice " +
                                                                                                VID_UBL_INVOICE_120.getVersion (),
                                                                           bNotDeprecated,
                                                                           ValidationExecutorXSD.create (EUBL21DocumentType.INVOICE),
                                                                           new ValidationExecutorSchematron (new ValidationArtefact (EValidationType.SCHEMATRON_XSLT,
                                                                                                                                     _getCL (),
                                                                                                                                     INVOICE_UBL_120_XSLT),
                                                                                                             null,
                                                                                                             UBL21NamespaceContext.getInstance ())));
    aRegistry.registerValidationExecutorSet (ValidationExecutorSet.create (VID_UBL_CREDIT_NOTE_120,
                                                                           "EN 16931 UBL CreditNote " +
                                                                                                    VID_UBL_CREDIT_NOTE_120.getVersion (),
                                                                           bNotDeprecated,
                                                                           ValidationExecutorXSD.create (EUBL21DocumentType.CREDIT_NOTE),
                                                                           new ValidationExecutorSchematron (new ValidationArtefact (EValidationType.SCHEMATRON_XSLT,
                                                                                                                                     _getCL (),
                                                                                                                                     INVOICE_UBL_120_XSLT),
                                                                                                             null,
                                                                                                             UBL21NamespaceContext.getInstance ())));
  }
public static void initEN16931 ( @ Nonnull final ValidationExecutorSetRegistry aRegistry ) { ValueEnforcer . notNull ( aRegistry , "Registry" ) ; LocationBeautifierSPI . addMappings ( UBL21NamespaceContext . getInstance ( ) ) ; LocationBeautifierSPI . addMappings ( CIID16BNamespaceContext . getInstance ( ) ) ; final boolean bDeprecated = true ; final boolean bNotDeprecated = false ; aRegistry . registerValidationExecutorSet ( ValidationExecutorSet . create ( VID_CII_100 , "EN 16931 CII " + VID_CII_100 . getVersion ( ) , bDeprecated , ValidationExecutorXSD . create ( ECIID16BDocumentType . CROSS_INDUSTRY_INVOICE ) , new ValidationExecutorSchematron ( new ValidationArtefact ( EValidationType . SCHEMATRON_XSLT , _getCL ( ) , INVOICE_CII_100_XSLT ) , null , CIID16BNamespaceContext . getInstance ( ) ) ) ) ; aRegistry . registerValidationExecutorSet ( ValidationExecutorSet . create ( VID_CII_110 , "EN 16931 CII " + VID_CII_110 . getVersion ( ) , bDeprecated , ValidationExecutorXSD . create ( ECIID16BDocumentType . CROSS_INDUSTRY_INVOICE ) , new ValidationExecutorSchematron ( new ValidationArtefact ( EValidationType . SCHEMATRON_XSLT , _getCL ( ) , INVOICE_CII_110_XSLT ) , null , CIID16BNamespaceContext . getInstance ( ) ) ) ) ; aRegistry . registerValidationExecutorSet ( ValidationExecutorSet . create ( VID_CII_120 , "EN 16931 CII " + VID_CII_120 . getVersion ( ) , bNotDeprecated , ValidationExecutorXSD . create ( ECIID16BDocumentType . CROSS_INDUSTRY_INVOICE ) , new ValidationExecutorSchematron ( new ValidationArtefact ( EValidationType . SCHEMATRON_XSLT , _getCL ( ) , INVOICE_CII_120_XSLT ) , null , CIID16BNamespaceContext . getInstance ( ) ) ) ) ; aRegistry . registerValidationExecutorSet ( ValidationExecutorSet . create ( VID_EDIFACT_100 , "EN 16931 EDIFACT/ISO 20625 " + VID_EDIFACT_100 . getVersion ( ) , bNotDeprecated , ValidationExecutorXSD . create ( new JAXBDocumentType ( MINVOIC . class , new CommonsArrayList < > ( new ClassPathResource ( "/schemas/INVOIC_D14B_ISO20625.xsd" , _getCL ( ) ) ) , null ) ) , new ValidationExecutorSchematron ( new ValidationArtefact ( EValidationType . SCHEMATRON_XSLT , _getCL ( ) , INVOICE_EDIFACT_100_XSLT ) , null , null ) ) ) ; aRegistry . registerValidationExecutorSet ( ValidationExecutorSet . create ( VID_UBL_INVOICE_100 , "EN 16931 UBL Invoice " + VID_UBL_INVOICE_100 . getVersion ( ) , bDeprecated , ValidationExecutorXSD . create ( EUBL21DocumentType . INVOICE ) , new ValidationExecutorSchematron ( new ValidationArtefact ( EValidationType . SCHEMATRON_XSLT , _getCL ( ) , INVOICE_UBL_100_XSLT ) , null , UBL21NamespaceContext . getInstance ( ) ) ) ) ; aRegistry . registerValidationExecutorSet ( ValidationExecutorSet . create ( VID_UBL_CREDIT_NOTE_100 , "EN 16931 UBL CreditNote " + VID_UBL_CREDIT_NOTE_100 . getVersion ( ) , bDeprecated , ValidationExecutorXSD . create ( EUBL21DocumentType . CREDIT_NOTE ) , new ValidationExecutorSchematron ( new ValidationArtefact ( EValidationType . SCHEMATRON_XSLT , _getCL ( ) , INVOICE_UBL_110_XSLT ) , null , UBL21NamespaceContext . getInstance ( ) ) ) ) ; aRegistry . registerValidationExecutorSet ( ValidationExecutorSet . create ( VID_UBL_INVOICE_110 , "EN 16931 UBL Invoice " + VID_UBL_INVOICE_110 . getVersion ( ) , bDeprecated , ValidationExecutorXSD . create ( EUBL21DocumentType . INVOICE ) , new ValidationExecutorSchematron ( new ValidationArtefact ( EValidationType . SCHEMATRON_XSLT , _getCL ( ) , INVOICE_UBL_110_XSLT ) , null , UBL21NamespaceContext . getInstance ( ) ) ) ) ; aRegistry . registerValidationExecutorSet ( ValidationExecutorSet . create ( VID_UBL_CREDIT_NOTE_110 , "EN 16931 UBL CreditNote " + VID_UBL_CREDIT_NOTE_110 . getVersion ( ) , bDeprecated , ValidationExecutorXSD . create ( EUBL21DocumentType . CREDIT_NOTE ) , new ValidationExecutorSchematron ( new ValidationArtefact ( EValidationType . SCHEMATRON_XSLT , _getCL ( ) , INVOICE_UBL_110_XSLT ) , null , UBL21NamespaceContext . getInstance ( ) ) ) ) ; aRegistry . registerValidationExecutorSet ( ValidationExecutorSet . create ( VID_UBL_INVOICE_120 , "EN 16931 UBL Invoice " + VID_UBL_INVOICE_120 . getVersion ( ) , bNotDeprecated , ValidationExecutorXSD . create ( EUBL21DocumentType . INVOICE ) , new ValidationExecutorSchematron ( new ValidationArtefact ( EValidationType . SCHEMATRON_XSLT , _getCL ( ) , INVOICE_UBL_120_XSLT ) , null , UBL21NamespaceContext . getInstance ( ) ) ) ) ; aRegistry . registerValidationExecutorSet ( ValidationExecutorSet . create ( VID_UBL_CREDIT_NOTE_120 , "EN 16931 UBL CreditNote " + VID_UBL_CREDIT_NOTE_120 . getVersion ( ) , bNotDeprecated , ValidationExecutorXSD . create ( EUBL21DocumentType . CREDIT_NOTE ) , new ValidationExecutorSchematron ( new ValidationArtefact ( EValidationType . SCHEMATRON_XSLT , _getCL ( ) , INVOICE_UBL_120_XSLT ) , null , UBL21NamespaceContext . getInstance ( ) ) ) ) ; }
Register all standard EN 16931 validation execution sets to the provided
registry.

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