Class LomDuration
java.lang.Object
dev.jcputney.elearning.parser.input.lom.types.LomDuration
- All Implemented Interfaces:
Serializable
Represents the duration metadata of a resource, including the duration value in ISO 8601 format
and an optional description.
The following schema snippet illustrates the expected XML structure for duration:
<xs:complexType name="duration">
<xs:complexContent>
<xs:extension base="Duration">
<xs:attributeGroup ref="ag:duration"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
A duration value typically conforms to the ISO 8601 format (e.g., "PT10M" for 10 minutes). The description element, if present, allows for a natural language explanation of the duration.
Example XML:
<duration>
<duration>PT10M</duration>
<description>
<string language="en-us">This video is 10 minutes long.</string>
</description>
</duration>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LomDuration
public LomDuration()
-