Class Bb55AssessmentTranslator
- java.lang.Object
-
- org.sakaiproject.importer.impl.translators.Bb55AssessmentTranslator
-
- All Implemented Interfaces:
IMSResourceTranslator
- Direct Known Subclasses:
Bb55QuestionPoolTranslator,Bb55SurveyTranslator
public class Bb55AssessmentTranslator extends Object implements IMSResourceTranslator
-
-
Constructor Summary
Constructors Constructor Description Bb55AssessmentTranslator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]getBytesFromFile(File file)StringgetTypeName()protected AssessmentnewImportable()booleanprocessResourceChildren()protected StringrootElement()Importabletranslate(Node resourceNode, Document descriptor, String contextPath, String archiveBasePath)
-
-
-
Method Detail
-
getTypeName
public String getTypeName()
- Specified by:
getTypeNamein interfaceIMSResourceTranslator
-
translate
public Importable translate(Node resourceNode, Document descriptor, String contextPath, String archiveBasePath)
- Specified by:
translatein interfaceIMSResourceTranslator
-
processResourceChildren
public boolean processResourceChildren()
- Specified by:
processResourceChildrenin interfaceIMSResourceTranslator
-
newImportable
protected Assessment newImportable()
-
rootElement
protected String rootElement()
-
getBytesFromFile
protected byte[] getBytesFromFile(File file) throws IOException
- Throws:
IOException
-
-