sbr.resources.io
Class ItemParse

java.lang.Object
  extended by sbr.resources.io.ItemParse

public class ItemParse
extends java.lang.Object

Object to take a string representation of an item from a file and parse it into the string array code needed to generate the web page code.

Version:
0.3
Author:
John H. Krantz, Ph.D.
See Also:
SBRParse, NewQuestion

Constructor Summary
ItemParse()
           
 
Method Summary
 java.lang.String[][][] getItem(java.lang.String item)
          Takes a text string and converts it to the string array that holds the code for creating a survey item.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemParse

public ItemParse()
Method Detail

getItem

public java.lang.String[][][] getItem(java.lang.String item)
Takes a text string and converts it to the string array that holds the code for creating a survey item. This array has one more dimension than the normal string array for an item. s[0][0][0] has the code to indicate the item type.

Parameters:
item - The string with the code for the item.
Returns:
String [][][]. The string array representation of this code.