Class XapiParser

All Implemented Interfaces:
ModuleParser<TincanManifest>

public final class XapiParser extends BaseParser<XapiMetadata,TincanManifest>
Parser for xAPI/TinCan packages.

Parses the tincan.xml manifest file and creates XapiMetadata containing the module information.

The TinCan manifest format is a simple XML structure containing one or more activities with their launch URLs and metadata.

  • Field Details

    • TINCAN_XML

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

    • XapiParser

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

      public XapiParser(FileAccess fileAccess, ParserOptions options)
      Constructs an XapiParser 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