Source Code Cross Referenced for AuthoringConstantStrings.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » tool » assessment » qti » constants » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.sakaiproject.tool.assessment.qti.constants 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**********************************************************************************
002:         * $URL: https://source.sakaiproject.org/svn/sam/trunk/component/src/java/org/sakaiproject/tool/assessment/qti/constants/AuthoringConstantStrings.java $
003:         * $Id: AuthoringConstantStrings.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:        import org.sakaiproject.util.ResourceLoader;
023:
024:        /**
025:         * A set of strings for QTI XML item characteristics
026:         *
027:         * @author rshastri
028:         */
029:
030:        /**
031:         * This class contains authoring strings and names frequently used
032:         * in the Java code for QTI authoring.
033:         */
034:        public class AuthoringConstantStrings {
035:
036:            /*
037:            org.sakaiproject.tool.assessment.bundle.Messages:
038:
039:
040:            anonymous = Anonymous Users
041:            authenticated = Authenticated Users
042:
043:            # AssessmentFacadeQueries.java
044:            new_section = this section is added when a new assessment is created
045:
046:            # AuthoringConstantStrings.java
047:            matching = Matching
048:            fib = Fill In the Blank
049:            fin= Numeric Response
050:            mcmc = Multiple Correct Answer
051:            mcsc = Multiple Choice
052:            tf = True False
053:            survey = Multiple Choice Survey
054:            essay = Short Answers/Essay
055:            essay_alt = Essay
056:            audio = Audio Recording
057:            file = File Upload
058:             */
059:
060:            //private static ResourceLoader rb = new ResourceLoader("org.sakaiproject.tool.assessment.bundle.Messages");
061:            //BUT ALL OF THEM ARE STATIC AND FINAL...  THIS IS NOT A GOOD COMBINATION WITH RESOURCELOADES...
062:            //
063:            public static final String UNLIMITED_SUBMISSIONS = "9999";
064:
065:            // use static final string instead of rb.getString() because samigo-service is deployed in shared/lib and has no access to sakai-util, which contains the REsourceLoader
066:            // These are not strings displayed in UI. 
067:
068:            public static final String ANONYMOUS = "Anonymous Users";
069:            public static final String AUTHENTICATED = "Authenticated Users";
070:
071:            //Item Types
072:            public static final String MATCHING = "Matching";
073:            public static final String FIB = "Fill In the Blank";
074:            public static final String FIN = "Numeric Response";
075:            public static final String MCMC = "Multiple Correct Answer";
076:            public static final String MCSC = "Multiple Choice";
077:            public static final String TF = "True False";
078:            public static final String SURVEY = "Multiple Choice Survey";
079:            public static final String ESSAY = "Short Answers/Essay";
080:            public static final String ESSAY_ALT = "Essay";
081:            public static final String AUDIO = "Audio Recording";
082:            public static final String FILE = "File Upload";
083:
084:            /*
085:            public static final String ANONYMOUS = rb.getString("anonymous"); // Anonymous Users
086:            public static final String AUTHENTICATED = rb.getString("authenticated"); // Authenticated Users
087:            
088:            //Item Types
089:            public static final String MATCHING = rb.getString("matching"); //"Matching"
090:            public static final String FIB = rb.getString("fib"); //"Fill In the Blank"
091:            public static final String FIN = rb.getString("fin"); //"Numeric Response"
092:            public static final String MCMC = rb.getString("mcmc"); //"Multiple Correct Answer"
093:            public static final String MCSC = rb.getString("mcsc"); // "Multiple Choice"
094:            public static final String TF = rb.getString("tf"); // "True False"
095:            public static final String SURVEY = rb.getString("survey"); // "Multiple Choice Survey"
096:            public static final String ESSAY = rb.getString("essay"); // "Short Answers/Essay"
097:            public static final String ESSAY_ALT = rb.getString("essay_alt"); // "Essay"
098:            public static final String AUDIO = rb.getString("audio"); // "Audio Recording"
099:            public static final String FILE = rb.getString("file"); // "File Upload"
100:             */
101:
102:            // "Unknown Type" is a placeholder for the invalid '0' , "Unused Type" is an alternate MCMC
103:            // Lydia 9/29/2006 : added "" before FIN, because Diego used 11 as the type.  Rather than changing the conversion script for SAM_TYPE_D table, 
104:            // I'm just adding an "" to make FIN the itemTypes[11].  This is used in ItemTypeExtractionStrategy.getValidType()
105:            public static final String[] itemTypes = { "Unknown Type", MCSC,
106:                    MCMC, SURVEY, TF, ESSAY, FILE, AUDIO, FIB, MATCHING, "",
107:                    FIN };
108:
109:            // Feedback Type
110:            public static final String FEEDBACKTYPE_IMMEDIATE = "IMMEDIATE";
111:            public static final String FEEDBACKTYPE_DATED = "DATED";
112:            public static final String FEEDBACKTYPE_NONE = "NONE";
113:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.