Class Scorm12Resources

java.lang.Object
dev.jcputney.elearning.parser.input.scorm12.ims.cp.Scorm12Resources
All Implemented Interfaces:
Serializable

public class Scorm12Resources extends Object implements 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 Details

    • Scorm12Resources

      public Scorm12Resources()
  • Method Details

    • getResourceById

      public Optional<Scorm12Resource> getResourceById(String id)
      Retrieves a resource by its identifier.
      Parameters:
      id - The identifier of the resource to retrieve.
      Returns:
      An Optional containing the resource if found, or an empty Optional if not found.