Class ExportToLHEOManager

All Implemented Interfaces:
LogEnabled, Component, Serviceable

Manager to generate programs to LHEO XML
  • Field Details

  • Constructor Details

  • Method Details

    • service

      public void service(ServiceManager manager) throws ServiceException
      Specified by:
      service in interface Serviceable
      Throws:
      ServiceException
    • saxLHEO

      public void saxLHEO(ContentHandler contentHandler, List<AbstractProgram> programs) throws SAXException
      Sax the LHEO xml for the list of programs
      Parameters:
      contentHandler - the content handler
      programs - the list of program to sax
      Throws:
      SAXException - if a saxing exception occurred
    • saxLHEO

      public void saxLHEO(ContentHandler contentHandler, List<AbstractProgram> programs, Map<String,Object> additionalParameters) throws SAXException
      Sax the LHEO xml for the list of programs
      Parameters:
      contentHandler - the content handler
      programs - the list of program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxOffers

      protected void _saxOffers(ContentHandler contentHandler, List<AbstractProgram> programs, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <offres>
      Can contain the following XML tags:
      [1,N] <formation>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      programs - the list of program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxPrograms

      protected void _saxPrograms(ContentHandler contentHandler, List<AbstractProgram> programs, Map<String,Object> additionalParameters) throws SAXException
      Sax for each program a XML tag <formation>
      Parameters:
      contentHandler - the content handler
      programs - the list of program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgram

      protected void _saxProgram(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax a XML tag <formation>
      Can contain the following XML tags:
      [1,1] <domaine-formation>
      [1,1] <intitule-formation>
      [1,1] <objectif-formation>
      [1,1] <resultats-attendus>
      [1,1] <contenu-formation>
      [1,1] <certifiante>
      [1,1] <contact-formation>
      [1,1] <parcours-de-formation>
      [1,1] <code-niveau-entree>
      [0,1] <objectif-general-formation>
      [0,5] <certification>
      [0,1] <code-niveau-sortie>
      [0,1] <url-formation>
      [1,N] <action>
      [1,1] <organisme-formation-responsable>
      [0,1] <identifiant-module>
      [0,1] <positionnement>
      [0,1] <sous-modules>
      [0,1] <modules-prerequis>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _getProgramAttributes

      protected AttributesImpl _getProgramAttributes(AbstractProgram program, Map<String,Object> additionalParameters)
      Get attribute for XML tag <formation>
      Parameters:
      program - the program
      additionalParameters - the additional parameters
      Returns:
      the attributes for XML tag <formation>
    • _saxProgramDomain

      protected void _saxProgramDomain(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <domaine-formation>
      Can contain the following XML tags:
      [0,5] <cpde-FORMACODE>
      [0,3] <code-NSF>
      [0,5] <code-ROME>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxFORMACODE

      protected void _saxFORMACODE(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <code-FORMACODE>
      The code contains exactly 5 characters
      The tag must contains the attribute "ref"
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxNSF

      protected void _saxNSF(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <code-NSF>
      The code contains exactly 3 characters
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxROME

      protected void _saxROME(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <code-ROME>
      The code contains exactly 5 characters
      The tag can have the attribute "ref". If not, the default value is "V3"
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramDomainExtras

      protected void _saxProgramDomainExtras(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax for program domain the XML tag <extras>
      Can contains all not LHEO normalized elements
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramTitle

      protected void _saxProgramTitle(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <intitule-formation>
      The value contains between 1 to 255 characters
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramObjectives

      protected void _saxProgramObjectives(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <objectif-formation>
      The value contains between 1 to 3000 characters
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramExpectedResults

      protected void _saxProgramExpectedResults(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <resultats-attendus>
      The value contains between 1 to 3000 characters
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramPresentation

      protected void _saxProgramPresentation(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <contenu-formation>
      The value contains between 1 to 3000 characters
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramCertifying

      protected void _saxProgramCertifying(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <certifiante>
      0 for false and 1 for true
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramContact

      protected void _saxProgramContact(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <contact-formation>
      Can contain the following XML tags:
      [1,1] <coordonnees>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramContactCoordonnees

      protected void _saxProgramContactCoordonnees(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax for program contact the XML tag <coordonnees>
      Can contain the following XML tags:
      [0,1] <civilite>
      [0,1] <nom>
      [0,1] <prenom>
      [0,3] <ligne>
      [0,1] <adresse>
      [0,1] <telfixe>
      [0,1] <portable>
      [0,1] <fax>
      [0,1] <courriel>
      [0,1] <web>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramContactExtras

      protected void _saxProgramContactExtras(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax for program contact the XML tag <extras>
      Can contains all not LHEO normalized elements
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramPath

      protected void _saxProgramPath(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <parcours-de-formation>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramEducationEntryLevel

      protected void _saxProgramEducationEntryLevel(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <code-niveau-entree>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _convertEducationEntryLevel2LHEO

      Convert the Ametys education entry level code to LHEO
      Parameters:
      code - the ametys code
      Returns:
      the LHEO key value
    • _saxProgramCertification

      protected void _saxProgramCertification(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <certification>
      Can contain the following XML tags:
      [0,1] <code-RNCP>
      [0,1] <code-CERTIFINFO>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramAction

      protected void _saxProgramAction(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <action>
      Can contain the following XML tags:
      [1,1] <rythme-formation>
      [1,10] <code-public-vise>
      [0,1] <info-public-vise>
      [1,1] <niveau-entree-obligatoire>
      [1,1] <modalites-alternance>
      [1,1] <modalites-enseignement>
      [1,1] <conditions-specifiques>
      [1,1] <prise-en-charge-frais-possible>
      [1,1] <lieu-de-formation>
      [1,1] <modalites-entrees-sorties>
      [0,1] <url-action>
      [1,N] <session>
      [0,1] <adresse-information>
      [0,3] <date-information>
      [0,1] <restauration>
      [0,1] <hebergement>
      [0,1] <transport>
      [0,1] <acces-handicapes>
      [0,1] <langue-formation>
      [0,1] <modalites-recrutement>
      [0,1] <modalites-pedagogiques>
      [0,5] <code-modalite-pedagogique>
      [0,1] <frais-restants>
      [0,1] <code-perimetre-recrutement>
      [0,1] <infos-perimetre-recrutement>
      [0,1] <prix-horaire-TTC>
      [0,1] <prix-total-TTC>
      [0,1] <duree-indicative>
      [0,1] <nombre-heures-centre>
      [0,1] <nombre-heures-entreprise>
      [0,1] <nombre-heures-total>
      [0,1] <detail-conditions-prise-en-charge>
      [0,1] <conventionnement>
      [0,1] <duree-conventionnee>
      [0,1] <organisme-formateur>
      [0,8] <organisme-financeur>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _getActionAttributes

      protected AttributesImpl _getActionAttributes(AbstractProgram program, Map<String,Object> additionalParameters)
      Get attribute for XML tag <action>
      Parameters:
      program - the program
      additionalParameters - the additional parameters
      Returns:
      the attributes for XML tag <action>
    • _saxProgramTiming

      protected void _saxProgramTiming(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <rythme-formation>
      The value contains between 1 to 3000 characters
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramTargetAudience

      protected void _saxProgramTargetAudience(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <code-public-vise>
      The code contains exactly 5 characters
      The tag must contains the attribute "ref"
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramMandatoryEntryLevel

      protected void _saxProgramMandatoryEntryLevel(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <niveau-entree-obligatoire>
      0 for false and 1 for true
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramAlternationModality

      protected void _saxProgramAlternationModality(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <modalites-alternance>
      The value contains between 1 to 3000 characters
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProrgamDistanceLearning

      protected void _saxProrgamDistanceLearning(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <modalites-enseignement>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _convertDistanceLearning2LHEO

      Convert the ametys code in LHEO code
      Parameters:
      code - the ametys code
      Returns:
      the LHEO code
    • _saxProgramNeededPrerequisite

      protected void _saxProgramNeededPrerequisite(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <conditions-specifiques>
      The value contains between 1 to 3000 characters
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramCostBearing

      protected void _saxProgramCostBearing(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <prise-en-charge-frais-possible>
      0 for false and 1 for true
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramPlaces

      protected void _saxProgramPlaces(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <lieu-de-formation>
      Can contain the following XML tags:
      [1,1] <coordonnees>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxPlacesCoordonnees

      protected void _saxPlacesCoordonnees(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax for places the XML tag <coordonnees>
      Can contain the following XML tags:
      [0,1] <civilite>
      [0,1] <nom>
      [0,1] <prenom>
      [0,3] <ligne>
      [0,1] <adresse>
      [0,1] <telfixe>
      [0,1] <portable>
      [0,1] <fax>
      [0,1] <courriel>
      [0,1] <web>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxPlacesExtras

      protected void _saxPlacesExtras(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax for places the XML tag <extras>
      Can contains all not LHEO normalized elements
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramEntryExitModalities

      protected void _saxProgramEntryExitModalities(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <modalites-entrees-sorties>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramSession

      protected void _saxProgramSession(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <session>
      Can contain the following XML tags:
      [1,1] <periode>
      [1,1] <adresse-inscription>
      [0,1] <modalites-inscription>
      [0,1] <periode-inscription>
      [0,1] <etat-recrutement>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _getSessionAttributes

      protected AttributesImpl _getSessionAttributes(AbstractProgram program, Map<String,Object> additionalParameters)
      Get attribute for XML tag <session>
      Parameters:
      program - the program
      additionalParameters - the additional parameters
      Returns:
      the attributes for XML tag <session>
    • _saxProgramPeriod

      protected void _saxProgramPeriod(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <periode>
      Can contain the following XML tags:
      [1,1] <debut>
      [1,1] <fin>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramPeriodStartDate

      protected void _saxProgramPeriodStartDate(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <debut>
      00000000 if the start date is not known. AAAA0000 for a year format, AAAAMM00 for a year/month format, AAAAMMDD for a year/month/day format
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramPeriodEndDate

      protected void _saxProgramPeriodEndDate(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <fin>
      99999999 if the end date is not known. AAAA0000 for a year format, AAAAMM00 for a year/month format, AAAAMMDD for a year/month/day format
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramInscriptionPeriod

      protected void _saxProgramInscriptionPeriod(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <periode-inscription>
      Can contain the following XML tags:
      [1,1] <periode>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxPeriodExtras

      protected void _saxPeriodExtras(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax for period the XML tag <extras>
      Can contains all not LHEO normalized elements
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramRegistrationAddress

      protected void _saxProgramRegistrationAddress(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <adresse-inscription>
      Can contain the following XML tags:
      [1,1] <adresse>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxRegistrationAddress

      protected void _saxRegistrationAddress(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <adresse>
      Can contain the following XML tags:
      [1,4] <ligne>
      [1,1] <codepostal>
      [1,1] <ville>
      [0,1] <departement>
      [0,1] <code-INSEE-commune>
      [0,1] <code-INSEE-canton>
      [0,1] <region>
      [0,1] <pays>
      [0,1] <geolocalisation>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxRegistrationAddressExtras

      protected void _saxRegistrationAddressExtras(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax for registration address the XML tag <extras>
      Can contains all not LHEO normalized elements
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxSessionExtras

      protected void _saxSessionExtras(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax for action the XML tag <extras>
      Can contains all not LHEO normalized elements
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramEducationLanguage

      protected void _saxProgramEducationLanguage(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <langue-formation>
      The value contains exactly 2 characters
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramAccessCondition

      protected void _saxProgramAccessCondition(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <modalites-recrutement>
      The value contains between 1 to 3000 characters
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramEducationalModalities

      protected void _saxProgramEducationalModalities(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <code-modalite-pedagogique>
      The code contains exactly 5 characters
      The tag must contains the attribute "ref"
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramOrgUnitFormer

      protected void _saxProgramOrgUnitFormer(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <organisme-formateur>
      Can contain the following XML tags:
      [1,4] <SIRET-formateur>
      [1,1] <raison-sociale-formateur>
      [1,1] <contact-formateur>
      [0,1] <potentiel>
      [0,1] <code-UAI-formateur>
      [0,1] <reference-certification>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramOrgUnitFormerSIRETInformation

      protected void _saxProgramOrgUnitFormerSIRETInformation(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <SIRET-formateur>
      Can contain the following XML tags:
      [1,1] <SIRET>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramOrgUnitFormerSIRET

      protected void _saxProgramOrgUnitFormerSIRET(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <SIRET>
      The value contains exactly 14 characters
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramOrgUnitFormerSIRETExtras

      protected void _saxProgramOrgUnitFormerSIRETExtras(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax for SIRET information the XML tag <extras>
      Can contains all not LHEO normalized elements
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramOrgUnitFormerSocialReason

      protected void _saxProgramOrgUnitFormerSocialReason(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <raison-sociale-formateur>
      The value contains between 1 to 255 characters
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramOrgUnitFormerContact

      protected void _saxProgramOrgUnitFormerContact(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <contact-formateur>
      Can contain the following XML tags:
      [1,1] <coordonnees>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramOrgUnitFormerContactCoordinates

      protected void _saxProgramOrgUnitFormerContactCoordinates(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax for contact former orgUnit the XML tag <coordonnees>
      Can contain the following XML tags:
      [0,1] <civilite>
      [0,1] <nom>
      [0,1] <prenom>
      [0,3] <ligne>
      [0,1] <adresse>
      [0,1] <telfixe>
      [0,1] <portable>
      [0,1] <fax>
      [0,1] <courriel>
      [0,1] <web>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramOrgUnitFormerContactExtras

      protected void _saxProgramOrgUnitFormerContactExtras(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax for contact former orgUnit the XML tag <extras>
      Can contains all not LHEO normalized elements
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramOrgUnitFormerExtras

      protected void _saxProgramOrgUnitFormerExtras(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax for former orgUnit the XML tag <extras>
      Can contains all not LHEO normalized elements
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramOrgUnitFunder

      protected void _saxProgramOrgUnitFunder(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <organisme-financeur>
      Can contain the following XML tags:
      [1,1] <code-financeur>
      [0,1] <nb-places-financees>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxActionExtras

      protected void _saxActionExtras(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax for action the XML tag <extras>
      Can contains all not LHEO normalized elements
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramResponsibleOrgUnit

      protected void _saxProgramResponsibleOrgUnit(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <organisme-formation-responsable>
      Can contain the following XML tags:
      [1,1] <numero-activite>
      [1,1] <SIRET-organisme-formation>
      [1,1] <nom-organisme>
      [1,1] <raison-sociale>
      [1,1] <coordonnees-organisme>
      [1,1] <contact-organisme>
      [0,1] <renseignements-specifiques>
      [0,1] <potentiel>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _getResponsibleOrgUnitAttribut

      protected AttributesImpl _getResponsibleOrgUnitAttribut(AbstractProgram program, Map<String,Object> additionalParameters)
      Get attribute for XML tag <organisme-formation-responsable>
      Parameters:
      program - the program
      additionalParameters - the additional parameters
      Returns:
      the attributes for XML tag <session>
    • _saxProgramActivityNumber

      protected void _saxProgramActivityNumber(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <numero-activite>
      The value contains exactly 11 characters
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramSIRETInformation

      protected void _saxProgramSIRETInformation(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <SIRET-organisme-formation>
      Can contain the following XML tags:
      [1,1] <SIRET>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramSIRET

      protected void _saxProgramSIRET(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <SIRET>
      The value contains exactly 14 characters
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxSIRETInformationExtras

      protected void _saxSIRETInformationExtras(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax for SIRET information the XML tag <extras>
      Can contains all not LHEO normalized elements
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramOrgUnitName

      protected void _saxProgramOrgUnitName(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <nom-organisme>
      The value contains between 1 to 255 characters
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramCorporateName

      protected void _saxProgramCorporateName(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <raison-sociale>
      The value contains between 1 to 255 characters
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramOrgUnitDetails

      protected void _saxProgramOrgUnitDetails(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <coordonnees-organisme>
      Can contain the following XML tags:
      [1,1] <coordonnees>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxOrgUnitDetailsCoordinates

      protected void _saxOrgUnitDetailsCoordinates(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax for orgUnit details the XML tag <coordonnees>
      Can contain the following XML tags:
      [0,1] <civilite>
      [0,1] <nom>
      [0,1] <prenom>
      [0,3] <ligne>
      [0,1] <adresse>
      [0,1] <telfixe>
      [0,1] <portable>
      [0,1] <fax>
      [0,1] <courriel>
      [0,1] <web>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxOrgUnitDetailsExtras

      protected void _saxOrgUnitDetailsExtras(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax for orgUnit details the XML tag <extras>
      Can contains all not LHEO normalized elements
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramContactOrgUnit

      protected void _saxProgramContactOrgUnit(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <contact-organisme>
      Can contain the following XML tags:
      [1,1] <coordonnees>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxContactOrgUnitCoordinates

      protected void _saxContactOrgUnitCoordinates(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax for contact orgUnit the XML tag <coordonnees>
      Can contain the following XML tags:
      [0,1] <civilite>
      [0,1] <nom>
      [0,1] <prenom>
      [0,3] <ligne>
      [0,1] <adresse>
      [0,1] <telfixe>
      [0,1] <portable>
      [0,1] <fax>
      [0,1] <courriel>
      [0,1] <web>
      [0,N] <extras>
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxContactOrgUnitExtras

      protected void _saxContactOrgUnitExtras(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax for contact orgUnit the XML tag <extras>
      Can contains all not LHEO normalized elements
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxResponsibleOrgUnitExtras

      protected void _saxResponsibleOrgUnitExtras(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax for responsible orgUnit the XML tag <extras>
      Can contains all not LHEO normalized elements
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramRNCPCode

      protected void _saxProgramRNCPCode(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <code-RNCP>
      The value contains between 1 and 6 characters
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramCERTIFINFOCode

      protected void _saxProgramCERTIFINFOCode(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax the XML tag <code-CERTIFINFO>
      The value contains between 1 and 6 characters
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxCertificationExtras

      protected void _saxCertificationExtras(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax for certification the XML tag <extras>
      Can contains all not LHEO normalized elements
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxProgramsExtras

      protected void _saxProgramsExtras(ContentHandler contentHandler, AbstractProgram program, Map<String,Object> additionalParameters) throws SAXException
      Sax for programs the XML tag <extras>
      Can contains all not LHEO normalized elements
      Parameters:
      contentHandler - the content handler
      program - the program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxOffersExtras

      protected void _saxOffersExtras(ContentHandler contentHandler, List<AbstractProgram> programs, Map<String,Object> additionalParameters) throws SAXException
      Sax for offers the XML tag <extras>
      Can contains all not LHEO normalized elements
      Parameters:
      contentHandler - the content handler
      programs - the list of program to sax
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _saxPersonCoordinate

      protected void _saxPersonCoordinate(ContentHandler contentHandler, Person contact, Map<String,Object> additionalParameters) throws SAXException
      Sax LHEO elements of a ametys person for the XML tag >coordonnees<
      Parameters:
      contentHandler - the content handler
      contact - the person contact
      additionalParameters - the additional parameters
      Throws:
      SAXException - if a saxing exception occurred
    • _getRefContent

      protected Content _getRefContent(String id)
      Get ref content from id
      Parameters:
      id - the ref content id
      Returns:
      the ref content. Null if no exist
    • _getFirstContact

      Get first contact from abstract program
      Parameters:
      program - the abstract program
      Returns:
      the first contact if exist
    • _getFirstContactFromOrgUnits

      Get first contact from orgunits of the abstract program
      Parameters:
      program - the abstract program
      Returns:
      the first contact if exist
    • _getFirstOrgUnit

      Get first orgunit of the abstract program
      Parameters:
      program - the abstract program
      Returns:
      the first orgunit
    • _getPerson

      protected Person _getPerson(String id)
      Get person from id
      Parameters:
      id - the person id
      Returns:
      the person content. Null if no exist
    • _getOrgUnit

      protected OrgUnit _getOrgUnit(String id)
      Get orgUnit from id
      Parameters:
      id - the orgUnit id
      Returns:
      the orgUnit content. Null if no exist
    • _richText2String

      protected String _richText2String(RichText richText)
      Convert rich-text to string for LHEO
      Parameters:
      richText - the rich-text
      Returns:
      the transformed rich-text