org.intuitel.merger
public class SCORMXSLTSerializer extends XSLTSerializer
Further information of the transformation details can be found at the INTUITEL project page, at deliverable D4.2
Serializer
,
SerializerFactory
,
SMWScrapper
Constructor and Description |
---|
SCORMXSLTSerializer() |
Modifier and Type | Method and Description |
---|---|
protected String |
getCCMXSLT()
Returns the path to the XSLT file that generates the CCM.
|
protected String |
getCMXSLT()
Returns the path to the XSLT file that generates the CM.
|
protected String |
getExternalFormatName()
Returns "SCORM".
|
protected String |
getToExternalFormatXSLT()
Returns the path to the XSLT file that generates the SCORM manifest.
|
SLOM |
unmarshall(Set<File> inputCourse)
Reads a SCORM package and returns a SLOM object.
|
marshall, mergeCMandCCM, transformFile
protected String getCCMXSLT()
getCCMXSLT
in class XSLTSerializer
protected String getCMXSLT()
getCMXSLT
in class XSLTSerializer
protected String getToExternalFormatXSLT()
getToExternalFormatXSLT
in class XSLTSerializer
protected String getExternalFormatName()
getExternalFormatName
in class XSLTSerializer
public SLOM unmarshall(Set<File> inputCourse) throws BadFileException, IOException
The unmarshall method reads content from a file and returns a SLOM object with the information read.
The method accepts a Set of File objects. In the case of SCORM packages, the set should only contain a single with the actual SCORM package.
unmarshall
in class XSLTSerializer
inputCourse
- A Set of files containing the course information in the desired formatBadFileException
IOException
Copyright © 2014. All rights reserved.