01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/sam/trunk/component/src/java/org/sakaiproject/tool/assessment/qti/helper/section/SectionHelper12Impl.java $
03: * $Id: SectionHelper12Impl.java 9274 2006-05-10 22:50:48Z daisyf@stanford.edu $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2003, 2004, 2005, 2006 The Sakai Foundation.
07: *
08: * Licensed under the Educational Community License, Version 1.0 (the"License");
09: * you may not use this file except in compliance with the License.
10: * You may obtain a copy of the License at
11: *
12: * http://www.opensource.org/licenses/ecl1.php
13: *
14: * Unless required by applicable law or agreed to in writing, software
15: * distributed under the License is distributed on an "AS IS" BASIS,
16: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: * See the License for the specific language governing permissions and
18: * limitations under the License.
19: *
20: **********************************************************************************/package org.sakaiproject.tool.assessment.qti.helper.section;
21:
22: import org.apache.commons.logging.Log;
23: import org.apache.commons.logging.LogFactory;
24:
25: import org.sakaiproject.tool.assessment.qti.constants.QTIVersion;
26:
27: /**
28: * <p>Copyright: Copyright (c) 2005</p>
29: * <p>Organization: Sakai Project</p>
30: * <p>Support any QTI 1.2 only XML handling code</p>
31: * @author Ed Smiley esmiley@stanford.edu
32: * @version $Id: SectionHelper12Impl.java 9274 2006-05-10 22:50:48Z daisyf@stanford.edu $
33: */
34:
35: // Note section for QTI 1.2 and 2.0 are nearly identical
36: public class SectionHelper12Impl extends SectionHelperBase {
37: private static Log log = LogFactory
38: .getLog(SectionHelper12Impl.class);
39:
40: public SectionHelper12Impl() {
41: log.debug("SectionHelper12Impl");
42: }
43:
44: /**
45: * implementation of base class method
46: * @return
47: */
48: protected int getQtiVersion() {
49: return QTIVersion.VERSION_1_2;
50: }
51:
52: }
|