Class Scorm12Parser

All Implemented Interfaces:
ModuleParser<Scorm12Manifest>

public final class Scorm12Parser extends BaseParser<Scorm12Metadata,Scorm12Manifest>
Parses SCORM 1.2 modules by reading the imsmanifest.xml file and extracting core metadata.

This parser extracts key information such as title, description, identifier, launch URL, version, and optional fields like mastery score and custom data, storing them in a standardized ModuleMetadata object.

  • Field Details

    • MANIFEST_FILE

      public static final String MANIFEST_FILE
      The name of the manifest file for SCORM 1.2 modules.
      See Also:
  • Constructor Details

    • Scorm12Parser

      public Scorm12Parser(FileAccess fileAccess)
      Constructs a Scorm12Parser with the specified FileAccess instance.
      Parameters:
      fileAccess - An instance of FileAccess for reading files in the module package.
    • Scorm12Parser

      public Scorm12Parser(FileAccess fileAccess, ParserOptions options)
      Constructs a Scorm12Parser with the specified FileAccess instance and parser options.
      Parameters:
      fileAccess - An instance of FileAccess for reading files in the module package.
      options - The parser options to control validation and calculation behavior.
    • Scorm12Parser

      public Scorm12Parser(ModuleFileProvider moduleFileProvider)
      Constructs a Scorm12Parser with the specified ModuleFileProvider instance.
      Parameters:
      moduleFileProvider - An instance of ModuleFileProvider for reading files in the module package.
  • Method Details