Class Scorm12Resources
java.lang.Object
dev.jcputney.elearning.parser.input.scorm12.ims.cp.Scorm12Resources
- All Implemented Interfaces:
Serializable
Represents the
<resources> element in a SCORM 1.2 manifest file.
The <resources> element is a container for all <resource> elements in the
manifest, defining the resources used by the content package.
<xsd:complexType name="resourcesType">
<xsd:sequence>
<xsd:element ref="resource" minOccurs="0" maxOccurs="unbounded"/>
<xsd:group ref="grp.any"/>
</xsd:sequence>
<xsd:attributeGroup ref="attr.base"/>
<xsd:anyAttribute namespace="##other" processContents="strict"/>
</xsd:complexType>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves a resource by its identifier.
-
Constructor Details
-
Scorm12Resources
public Scorm12Resources()
-
-
Method Details
-
getResourceById
Retrieves a resource by its identifier.- Parameters:
id- The identifier of the resource to retrieve.- Returns:
- An
Optionalcontaining the resource if found, or an empty Optional if not found.
-