java.lang.Object
java.lang.Enum<ScormType>
dev.jcputney.elearning.parser.input.scorm2004.adl.types.ScormType
All Implemented Interfaces:
Serializable, Comparable<ScormType>, Constable

public enum ScormType extends Enum<ScormType>
Enum representing the allowed SCORM types in the SCORM ADLCP schema. The following schema snippet defines the possible values for this type:

   <xs:attribute name = "scormType">
       <xs:simpleType>
          <xs:restriction base = "xs:string">
             <xs:enumeration value = "sco"/>
             <xs:enumeration value = "asset"/>
          </xs:restriction>
       </xs:simpleType>
    </xs:attribute>
 
  • Enum Constant Details

    • SCO

      public static final ScormType SCO
      Indicates a Shareable Content Object (SCO), which includes interactive, trackable learning content.
    • ASSET

      public static final ScormType ASSET
      Indicates an asset, typically static content, that doesn't support interactivity or tracking.
    • UNKNOWN

      public static final ScormType UNKNOWN
      Indicates an unknown type. This value is used when the type can't be determined or isn't specified in the manifest.
  • Method Details

    • values

      public static ScormType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ScormType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null