org.sakaiproject.tool.assessment.qti.helper.assessment
Interface AssessmentHelperIfc

All Known Implementing Classes:
AssessmentHelperBase

public interface AssessmentHelperIfc

Interface for QTI-versioned assessment helper implementation.

Copyright: Copyright (c) 2005

Organization: Sakai Project

Version:
$Id: AssessmentHelperIfc.java 3597 2005-11-08 01:10:58Z esmiley@stanford.edu $
Author:
Ed Smiley esmiley@stanford.edu

Method Summary
 Assessment readXMLDocument(InputStream inputStream)
          Read XML docuemnt from input stream
 void setDescriptiveText(String description, Assessment assessmentXml)
          Set the assessment description.
 void updateAccessControl(Assessment assessmentXml, AssessmentAccessControlIfc accessControl)
          Set access control settings in XML.
 void updateEvaluationModel(Assessment assessmentXml, EvaluationModelIfc evaluationModel)
          Set evaluation settings in XML.
 void updateFeedbackModel(Assessment assessmentXml, AssessmentFeedbackIfc feedback)
          Set feedback settings in XML
 void updateIPAddressSet(Assessment assessmentXml, Set securedIPAddressSet)
           
 void updateMetaData(Assessment assessmentXml, AssessmentFacade assessment)
           
 

Method Detail

readXMLDocument

public Assessment readXMLDocument(InputStream inputStream)
Read XML docuemnt from input stream

Parameters:
inputStream - input stream
Returns:
the XML assessment

updateFeedbackModel

public void updateFeedbackModel(Assessment assessmentXml,
                                AssessmentFeedbackIfc feedback)
Set feedback settings in XML

Parameters:
assessmentXml -
feedback -

updateEvaluationModel

public void updateEvaluationModel(Assessment assessmentXml,
                                  EvaluationModelIfc evaluationModel)
Set evaluation settings in XML.

Parameters:
assessmentXml -
evaluationModel -

updateAccessControl

public void updateAccessControl(Assessment assessmentXml,
                                AssessmentAccessControlIfc accessControl)
Set access control settings in XML.

Parameters:
assessmentXml -
accessControl -

updateIPAddressSet

public void updateIPAddressSet(Assessment assessmentXml,
                               Set securedIPAddressSet)

updateMetaData

public void updateMetaData(Assessment assessmentXml,
                           AssessmentFacade assessment)

setDescriptiveText

public void setDescriptiveText(String description,
                               Assessment assessmentXml)
Set the assessment description. This is valid for all undelimited single item texts. Not valid for matching or fill in the blank

Parameters:
description - assessment description
assessmentXml - the xml