Class Cmi5Manifest
java.lang.Object
dev.jcputney.elearning.parser.input.cmi5.Cmi5Manifest
- All Implemented Interfaces:
PackageManifest,Serializable
Represents the root element of a CMI5 course structure manifest. Implements the
PackageManifest interface to provide common manifest functionality.
Defined in the schema as:
<xs:element name="courseStructure" type="courseType"/>
The Cmi5Manifest includes the following components:
- A
Courseelement defining the course metadata. - An optional
Objectiveselement listing the objectives for the course. - A sequence of
BlockandAU(Assignable Unit) elements defining the course structure.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the description of the course.The duration of the package, which indicates how long the package is expected to take.Returns the identifier for the course.Returns the launch URL for the course.getTitle()Returns the title of the course.Returns null, as the CMI5 manifest does not include a version number.
-
Constructor Details
-
Cmi5Manifest
public Cmi5Manifest()
-
-
Method Details
-
getTitle
Returns the title of the course. If the title is not present, returns null.- Specified by:
getTitlein interfacePackageManifest- Returns:
- the title of the course
-
getDescription
Returns the description of the course. If the description is not present, returns null.- Specified by:
getDescriptionin interfacePackageManifest- Returns:
- the description of the course
-
getLaunchUrl
Returns the launch URL for the course. First checks for assignable units at the root level, and if none are found, looks for assignable units inside the first block.- Specified by:
getLaunchUrlin interfacePackageManifest- Returns:
- the launch URL for the course, or null if no assignable units are found
-
getIdentifier
Returns the identifier for the course. If the course does not have an identifier, returns null.- Specified by:
getIdentifierin interfacePackageManifest- Returns:
- the identifier for the course
-
getVersion
Returns null, as the CMI5 manifest does not include a version number.- Specified by:
getVersionin interfacePackageManifest- Returns:
- null
-
getDuration
Description copied from interface:PackageManifestThe duration of the package, which indicates how long the package is expected to take.- Specified by:
getDurationin interfacePackageManifest- Returns:
- the duration of the package
-