001: /**********************************************************************************
002: * $URL: https://source.sakaiproject.org/svn/sam/trunk/component/src/java/org/sakaiproject/tool/assessment/qti/constants/QTIConstantStrings.java $
003: * $Id: QTIConstantStrings.java 9274 2006-05-10 22:50:48Z daisyf@stanford.edu $
004: ***********************************************************************************
005: *
006: * Copyright (c) 2003, 2004, 2005, 2006 The Sakai Foundation.
007: *
008: * Licensed under the Educational Community License, Version 1.0 (the"License");
009: * you may not use this file except in compliance with the License.
010: * You may obtain a copy of the License at
011: *
012: * http://www.opensource.org/licenses/ecl1.php
013: *
014: * Unless required by applicable law or agreed to in writing, software
015: * distributed under the License is distributed on an "AS IS" BASIS,
016: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
017: * See the License for the specific language governing permissions and
018: * limitations under the License.
019: *
020: **********************************************************************************/package org.sakaiproject.tool.assessment.qti.constants;
021:
022: /**
023: * <p>This class contains all qti tag names and attribute names frequently used
024: * in the java code.</p>
025: * <p>Copyright: Copyright (c) 2004</p>
026: * <p>Organization: Sakai Project</p>
027: * @author rshastri
028: * @author Ed Smiley esmiley@stanford.edu
029: * @version $Id: QTIConstantStrings.java 9274 2006-05-10 22:50:48Z daisyf@stanford.edu $
030: */
031: public class QTIConstantStrings {
032: // QUESTESTINTEROP ELEMENT
033: public static final String QUESTESTINTEROP = "questestinterop";
034: public static final String OBJECTBANK = "objectbank";
035: public static final String ASSESSMENT = "assessment";
036: public static final String SECTION = "section";
037: public static final String ITEM = "item"; // v 1.2
038: public static final String ASSESSMENTITEM = "assessmentItem"; // v 2.0
039:
040: // Assessment Element
041: public static final String QTICOMMENT = "qticomment";
042: public static final String DURATION = "duration";
043: public static final String QTIMETADATA = "qtimetadata";
044: public static final String OBJECTIVES = "objectives";
045: public static final String RUBRIC = "rubric";
046: public static final String ASSESSMENTCONTROL = "assessmentcontrol";
047: public static final String PRESENTATION_MATERIAL = "presentation_material";
048: public static final String OUTCOMES_PROCESSING = "outcomes_processing";
049: public static final String ASSESSPROC_EXTENSION = "assessproc_extension";
050: public static final String ASSESSFEEDBACK = "assessfeedback";
051: public static final String SELECTION_ORDERING = "selection_ordering";
052: public static final String REFERENCE = "reference";
053:
054: // Section Element
055: public static final String SECTIONREF = "sectionref";
056: public static final String SECTIONPRECONDITION = "sectionprecondition";
057: public static final String SECTIONPOSTCONDITION = "sectionpostcondition";
058: public static final String SECTIONCONTROL = "sectioncontrol";
059: public static final String SECTIONPROC_EXTENSTION = "sectionproc_extension";
060: public static final String SECTIONFEEDBACK = "sectionfeedback";
061:
062: // Item Element, version 1.2
063: public static final String ITEMIDENT = "ident";
064: public static final String ITEMREF = "itemref";
065: public static final String ITEMMETADATA = "itemmetadata";
066: public static final String ITEMPRECONDITION = "itemprecondition";
067: public static final String ITEMPOSTCONDITION = "itempostcondition";
068: public static final String ITEMCONTROL = "itemcontrol";
069: public static final String ITEMRUBRIC = "itemrubric";
070: public static final String PRESENTATON = "presentation";
071: public static final String FLOW = "flow";
072: public static final String RESPONSE_LID = "response_lid";
073: public static final String RESPONSE_XY = "response_xy";
074: public static final String RESPONSE_STR = "response_str";
075: public static final String RESPONSE_NUM = "response_num";
076: public static final String RESPONSE_GRP = "response_grp";
077: public static final String RENDER_CHOICE = "render_choice";
078: public static final String RENDER_HOTSPOT = "render_hotspot";
079: public static final String RENDER_FIB = "render_fib";
080: public static final String RENDER_FIN = "render_fin";
081: public static final String RENDER_SLIDER = "render_slider";
082: public static final String RESPONSE_LABEL = "response_label";
083: public static final String FLOW_LABEL = "flow_label";
084: public static final String RESPROCESSING = "resprocessing";
085: public static final String OUTCOMES = "outcomes";
086: public static final String RESPCONDITION = "respcondition";
087: public static final String ITEMPROC_EXTENSION = "itemfeedback";
088: public static final String ITEMFEEDBACK = "itemfeedback";
089: public static final String SOLUTION = "solution";
090: public static final String SOLUTIONMATERIAL = "solutionmaterial";
091: public static final String HINT = "hint";
092: public static final String HINTMATERIAL = "hintmaterial";
093:
094: // assessmentItem element, version 2.0
095: public static final String AITEM_IDENT = "identifier";
096: public static final String AITEM_ADAPT = "adaptive";
097: public static final String AITEM_TDEPT = "timeDependent";
098: public static final String AITEM_SHOWHIDE = "showHide";
099: public static final String AITEM_RESPONSIF = "responseIf";
100: public static final String AITEM_RESPONSE_ELIF = "responseElseIf";
101: public static final String AITEM_OUTCOME = "outcomeDeclaration";
102: public static final String AITEM_DEFAULT = "defaultValue";
103: public static final String AITEM_LOWER = "lowerBound";
104: public static final String AITEM_UPPER = "upperBound";
105: public static final String AITEM_MODAL = "modalFeedback";
106: public static final String AITEM_BODY = "itemBody";
107: public static final String AITEM_RESPONSEDECL = "responseDeclarations ";
108: public static final String AITEM_INTER = "interactions";
109: public static final String AITEM_RESPCOND = "responseCondition";
110: public static final String AITEM_MATCHGRP = "matchGroup";
111: public static final String AITEM_ACHOICE = "associableChoice";
112: public static final String AITEM_MATCHMAX = "matchMax";
113:
114: // Common Data Elements
115: public static final String MATERIAL = "material";
116: public static final String ALTMATERIAL = "altmaterial";
117: public static final String MATTEXT = "mattext";
118: public static final String MATEMTEXT = "matemtext";
119: public static final String MATBREAK = "matbreak";
120: public static final String MATIMAGE = "matimage";
121: public static final String MATAUDIO = "mataudio";
122: public static final String MATVIDEO = "matvideo";
123: public static final String MATAPPLET = "matapplet";
124: public static final String MATAPPLICATION = "matapplication";
125: public static final String MATREF = "matref";
126: public static final String MAT_EXTENSION = "mat_extension";
127: public static final String FLOW_MAT = "flow_mat";
128: public static final String DECVAR = "decvar";
129: public static final String INTERPRETVAR = "interpretvar";
130: public static final String SETVAR = "setvar";
131: public static final String DISPLAYFEEDBACK = "displayfeedback";
132: public static final String CONDITIONVAR = "conditionvar";
133: public static final String MATERIAL_REF = "material_ref";
134:
135: // Attribute names
136: public static final String IDENT = "ident";
137: public static final String TITLE = "title";
138: public static final String LINKREFID = "linkrefid";
139: public static final String VIEW = "view";
140: public static final String SOLUTIONSWITCH = "solutionswitch";
141: public static final String HINTSWITCH = "hintswitch";
142: public static final String FEEDBACKSWITCH = "feedbackswitch";
143: public static final String LABEL = "label";
144: public static final String MAXATTEMPTS = "maxattempts";
145: public static final String XML_LANG = "xml:lang";
146: public static final String WIDTH = "width";
147: public static final String HEIGHT = "height";
148: public static final String X0 = "x0";
149: public static final String Y0 = "y0";
150: public static final String RCARDINALITY = "rcardinality";
151: public static final String RTIMING = "rtiming";
152: public static final String NUMTYPE = "numtype";
153: public static final String SHUFFLE = "shuffle";
154: public static final String MINNUMBER = "minnumber";
155: public static final String MAXNUMBER = "maxnumber";
156: public static final String SHOWDRAW = "showdraw";
157: public static final String CHARSET = "charset";
158: public static final String ENCODING = "encoding";
159: public static final String ROWS = "rows";
160: public static final String COLUMNS = "columns";
161: public static final String MAXCHARS = "maxchars";
162: public static final String PROMPT = "prompt";
163: public static final String FIBTYPE = "fibtype";
164: public static final String FINTYPE = "fintype";
165: public static final String ORIENTATION = "orientation";
166: public static final String LOWERBOUND = "lowerbound";
167: public static final String UPPERBOUND = "upperbound";
168: public static final String STEP = "step";
169: public static final String STARTVAL = "startval";
170: public static final String STEPLABEL = "steplabel";
171:
172: // response_label attribute
173: public static final String LABELREFID = "labelrefid";
174: public static final String RSHUFFLE = "rshuffle";
175: public static final String RAREA = "rarea";
176: public static final String RRANGE = "rrange";
177: public static final String MATCH_GROUP = "match_group";
178: public static final String MATCH_MAX = "match_max";
179: public static final String CLASS = "class";
180: public static final String SCOREMODEL = "scoremodel";
181: public static final String CONTINUE = "continue";
182: public static final String FEEDBACKSTYLE = "feedbackstyle";
183: public static final String TEXTTYPLE = "texttype";
184: public static final String URI = "uri";
185: public static final String ENTITYREF = "entityref";
186: public static final String XML_SPACE = "xml:space";
187: public static final String EMBEDDED = "embedded";
188: public static final String AUDIOTYPE = "audiotype";
189: public static final String VOCAB_TYPE = "vocab_type";
190: public static final String VARTYPE = "vartype";
191: public static final String DEFAULTVAL = "defaultval";
192: public static final String CUTVALUE = "CUTVALUE";
193: public static final String MINVALUE = "minvalue";
194: public static final String MAXVALUE = "maxvalue";
195: public static final String MEMBERS = "members";
196: public static final String ACTION = "action";
197: public static final String RESPIDENT = "respident";
198: public static final String CASE = "case";
199: public static final String INDEX = "index";
200: public static final String AREATYPE = "areatype";
201: public static final String SETMATCH = "setmatch";
202:
203: /**
204: * Result Report
205: */
206:
207: // Assessment Result Elements
208: public static final String QTI_RESULT_REPORT = "qti_result_report";
209: public static final String RESULT = "result";
210: public static final String CONTEXT = "context";
211: public static final String SUMMARY_RESULT = "summary_result";
212: public static final String ASSESSMENT_RESULT = "assessment_result";
213: public static final String SECTION_RESULT = "section_result";
214: public static final String ITEM_RESULT = "item_result";
215: public static final String EXTENSION_RESULT = "extension_result";
216: public static final String NAME = "name";
217: public static final String GENERIC_IDENTIFIER = "generic_identifier";
218: public static final String DATE = "date";
219: public static final String TYPE_LABEL = "type_label";
220: public static final String STATUS = "status";
221: public static final String SCORE = "score";
222: public static final String EXTENSION_SUMMARY_RESULT = "extension_summary_result";
223: public static final String GRADE = "grade";
224: public static final String ASI_METADATA = "asi_metadata";
225: public static final String ASI_DESCRIPTION = "asi_description";
226: public static final String CONTROL = "control";
227: public static final String FEEDBACK_DISPLAYED = "feedback_displayed";
228: public static final String NUM_ITEMS = "num_items";
229: public static final String NUM_SECTIONS = "num_sections";
230: public static final String NUM_ITEMS_PRESENTED = "num_items_presented";
231: public static final String NUM_IMTES_ATTEMPTED = "num_items_attempted";
232: public static final String EXTENSION_ASSESSMENT_RESULT = "extension_assessment_result";
233:
234: // Section Result Elements
235: // Item Result Elements
236: public static final String RESPONSE = "response";
237: public static final String RESPONSE_FORM = "response_form";
238: public static final String NUM_ATTEMPTS = "num_attempts";
239: public static final String RESPONSE_VALUE = "response_value";
240: public static final String EXTENSION_ITEM_RESULT = "extension_item_result";
241:
242: // Common Data Elements
243: // Result Report Attribute
244: public static final String ASI_TITLE = "asi_title";
245: public static final String IDENT_REF = "ident_ref";
246: public static final String PRESENTED = "presented";
247:
248: //Selection and Ordering
249: public static final String SELECTION = "selection";
250: public static final String ORDER = "order";
251: public static final String SOURCEBANK_REF = "sourcebank_ref";
252: public static final String SELECTION_NUMBER = "selection_number";
253: public static final String ORDER_TYPE = "order_type";
254:
255: //QTIMetaData
256: public static final String QTIMETADATAFIELD = "qtimetadatafield";
257: public static final String FIELDLABEL = "fieldlabel";
258: public static final String FIELDENTRY = "fieldentry";
259: }
|