Java Doc for ItemHelperIfc.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » tool » assessment » qti » helper » item » 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.helper.item 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.sakaiproject.tool.assessment.qti.helper.item.ItemHelperIfc

All known Subclasses:   org.sakaiproject.tool.assessment.qti.helper.item.ItemHelper20Impl,  org.sakaiproject.tool.assessment.qti.helper.item.ItemHelper12Impl,  org.sakaiproject.tool.assessment.qti.helper.item.ItemHelperBase,
ItemHelperIfc
public interface ItemHelperIfc (Code)
Interface for QTI-versioned item helper implementation.

Copyright: Copyright (c) 2005

Organization: Sakai Project


author:
   Ed Smiley esmiley@stanford.edu
version:
   $Id: ItemHelperIfc.java 9274 2006-05-10 22:50:48Z daisyf@stanford.edu $


Field Summary
final public static  longITEM_AUDIO
    
final public static  longITEM_ESSAY
    
final public static  longITEM_FIB
    
final public static  longITEM_FILE
    
final public static  longITEM_FIN
    
final public static  longITEM_MATCHING
    
final public static  longITEM_MCMC
    
final public static  longITEM_MCSC
    
final public static  longITEM_SURVEY
    
final public static  longITEM_TF
    
public  String[]itemTypes
    


Method Summary
public  voidaddCorrectAnswer(String correctAnswerLabel, Item itemXml)
     Flags an answer as correct.
public  voidaddIncorrectAnswer(String incorrectAnswerLabel, Item itemXml)
     Flags an answer as NOT correct.
public  voidaddMaxScore(Float score, Item itemXml)
     Add minimum score to item XML.
public  voidaddMinScore(Float score, Item itemXml)
    
public  StringgetItemType(Item itemXml)
    
public  StringgetItemTypeString(TypeIfc type)
    
public  StringgetMetaLabelXPath(String fieldlabel)
    
public  StringgetMetaXPath()
    
public  StringgetText(Item itemXml)
    
public  ItemreadTypeSurveyItem(String scaleName)
     Get Item Xml for a given survey item scale name.
public  ItemreadTypeXMLItem(Long type)
     Get Item Xml for a given item type as a Long .
public  ItemreadXMLDocument(InputStream inputStream)
    
public  voidsetAnswers(ArrayList itemTextList, Item itemXml)
     Set the answer texts for item.
public  voidsetFeedback(ArrayList itemTextList, Item itemXml)
     Set the feedback texts for item.
public  voidsetItemText(String itemText, Item itemXml)
     Set the (usually instructional text) for trhe item.
public  voidsetItemTexts(ArrayList itemTextList, Item itemXml)
     Set the (one or more) item texts.
public  ItemupdateItemXml(Item itemXml, String xpath, String value)
    

Field Detail
ITEM_AUDIO
final public static long ITEM_AUDIO(Code)



ITEM_ESSAY
final public static long ITEM_ESSAY(Code)



ITEM_FIB
final public static long ITEM_FIB(Code)



ITEM_FILE
final public static long ITEM_FILE(Code)



ITEM_FIN
final public static long ITEM_FIN(Code)



ITEM_MATCHING
final public static long ITEM_MATCHING(Code)



ITEM_MCMC
final public static long ITEM_MCMC(Code)



ITEM_MCSC
final public static long ITEM_MCSC(Code)



ITEM_SURVEY
final public static long ITEM_SURVEY(Code)



ITEM_TF
final public static long ITEM_TF(Code)



itemTypes
public String[] itemTypes(Code)





Method Detail
addCorrectAnswer
public void addCorrectAnswer(String correctAnswerLabel, Item itemXml)(Code)
Flags an answer as correct.
Parameters:
  correctAnswerLabel -



addIncorrectAnswer
public void addIncorrectAnswer(String incorrectAnswerLabel, Item itemXml)(Code)
Flags an answer as NOT correct.
Parameters:
  correctAnswerLabel -



addMaxScore
public void addMaxScore(Float score, Item itemXml)(Code)
Add minimum score to item XML.
Parameters:
  score -
Parameters:
  itemXml -



addMinScore
public void addMinScore(Float score, Item itemXml)(Code)
Add maximum score to item XML
Parameters:
  score -
Parameters:
  itemXml -



getItemType
public String getItemType(Item itemXml)(Code)

Parameters:
  itemXml - type as string



getItemTypeString
public String getItemTypeString(TypeIfc type)(Code)
Get item type string which is used for the title of a given item type
Parameters:
  type -



getMetaLabelXPath
public String getMetaLabelXPath(String fieldlabel)(Code)
Get the metadata field entry XPath for a given label
Parameters:
  fieldlabel - the XPath



getMetaXPath
public String getMetaXPath()(Code)
Get the metadata field entry XPath the XPath



getText
public String getText(Item itemXml)(Code)
Get the text for the item
Parameters:
  itemXml - the text



readTypeSurveyItem
public Item readTypeSurveyItem(String scaleName)(Code)
Get Item Xml for a given survey item scale name.
Parameters:
  scaleName -



readTypeXMLItem
public Item readTypeXMLItem(Long type)(Code)
Get Item Xml for a given item type as a Long .
Parameters:
  type - item type as a Long



readXMLDocument
public Item readXMLDocument(InputStream inputStream)(Code)
Read XML document from input stream
Parameters:
  inputStream - XML docuemnt stream item XML



setAnswers
public void setAnswers(ArrayList itemTextList, Item itemXml)(Code)
Set the answer texts for item.
Parameters:
  itemTextList - the text(s) for item



setFeedback
public void setFeedback(ArrayList itemTextList, Item itemXml)(Code)
Set the feedback texts for item.
Parameters:
  itemTextList - the text(s) for item



setItemText
public void setItemText(String itemText, Item itemXml)(Code)
Set the (usually instructional text) for trhe item.
Parameters:
  itemText -
Parameters:
  itemXml -



setItemTexts
public void setItemTexts(ArrayList itemTextList, Item itemXml)(Code)
Set the (one or more) item texts. Valid for single and multiple texts.
Parameters:
  itemXml -
Parameters:
  itemText - text to be updated



updateItemXml
public Item updateItemXml(Item itemXml, String xpath, String value)(Code)
DOCUMENTATION PENDING
Parameters:
  itemXml - item xml to update
Parameters:
  xpath - the XPath
Parameters:
  value - value to set the item xml



ww__w___.__ja__v___a2___s__._c___o_m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.