Class Cmi5Parser

All Implemented Interfaces:
ModuleParser<Cmi5Manifest>

public final class Cmi5Parser extends BaseParser<Cmi5Metadata,Cmi5Manifest>
Cmi5Parser is responsible for parsing cmi5-specific metadata from the cmi5.xml file.

The "cmi5" xAPI-based specification includes Assignable Units (AUs) as discrete learning objects with metadata for LMS tracking and reporting. This parser extracts metadata such as the title, launch URL, prerequisites, dependencies, detailed AU information, and custom metadata.

  • Field Details

    • CMI5_XML

      public static final String CMI5_XML
      The name of the cmi5 XML file that contains the module metadata.
      See Also:
  • Constructor Details

    • Cmi5Parser

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

      public Cmi5Parser(FileAccess fileAccess, ParserOptions options)
      Constructs a Cmi5Parser 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.
  • Method Details