C# Class NDG.ModelsParser.QuestionDataFactory

Exibir arquivo Open project: nokiadatagathering/WP7-Official

Public Methods

Method Description
CreateDateQuestion ( System.Xml.Linq.XElement questionIterator, Category parent, System.Xml.Linq.XDocument xmlDocument ) : string
CreateDecimalQuestion ( System.Xml.Linq.XElement questionIterator, Category parent, System.Xml.Linq.XDocument xmlDocument ) : string
CreateDescriptiveQuestion ( System.Xml.Linq.XElement questionIterator, Category parent, System.Xml.Linq.XDocument xmlDocument ) : string
CreateExclusiveChoiceQuestion ( System.Xml.Linq.XElement questionIterator, Category parent, System.Xml.Linq.XDocument xmlDocument ) : string
CreateGeopointQuestion ( System.Xml.Linq.XElement questionIterator, Category parent, System.Xml.Linq.XDocument xmlDocument ) : string
CreateImageQuestion ( System.Xml.Linq.XElement questionIterator, Category parent, System.Xml.Linq.XDocument xmlDocument ) : string
CreateIntegerQuestion ( System.Xml.Linq.XElement questionIterator, Category parent, System.Xml.Linq.XDocument xmlDocument ) : string
CreateMultipleChoiceQuestion ( System.Xml.Linq.XElement questionIterator, Category parent, System.Xml.Linq.XDocument xmlDocument ) : string
CreateTimeQuestion ( System.Xml.Linq.XElement questionIterator, Category parent, System.Xml.Linq.XDocument xmlDocument ) : string
GetRelevantString ( System.Xml.Linq.XElement questionIterator, Category parent, System.Xml.Linq.XDocument xmlDocument ) : string

Private Methods

Method Description
GetConstraints ( string constraint, string expression ) : string>.Dictionary
GetRequired ( string required, string expression ) : System.Boolean

Method Details

CreateDateQuestion() public static method

public static CreateDateQuestion ( System.Xml.Linq.XElement questionIterator, Category parent, System.Xml.Linq.XDocument xmlDocument ) : string
questionIterator System.Xml.Linq.XElement
parent NDG.DataAccessModels.Category
xmlDocument System.Xml.Linq.XDocument
return string

CreateDecimalQuestion() public static method

public static CreateDecimalQuestion ( System.Xml.Linq.XElement questionIterator, Category parent, System.Xml.Linq.XDocument xmlDocument ) : string
questionIterator System.Xml.Linq.XElement
parent NDG.DataAccessModels.Category
xmlDocument System.Xml.Linq.XDocument
return string

CreateDescriptiveQuestion() public static method

public static CreateDescriptiveQuestion ( System.Xml.Linq.XElement questionIterator, Category parent, System.Xml.Linq.XDocument xmlDocument ) : string
questionIterator System.Xml.Linq.XElement
parent NDG.DataAccessModels.Category
xmlDocument System.Xml.Linq.XDocument
return string

CreateExclusiveChoiceQuestion() public static method

public static CreateExclusiveChoiceQuestion ( System.Xml.Linq.XElement questionIterator, Category parent, System.Xml.Linq.XDocument xmlDocument ) : string
questionIterator System.Xml.Linq.XElement
parent NDG.DataAccessModels.Category
xmlDocument System.Xml.Linq.XDocument
return string

CreateGeopointQuestion() public static method

public static CreateGeopointQuestion ( System.Xml.Linq.XElement questionIterator, Category parent, System.Xml.Linq.XDocument xmlDocument ) : string
questionIterator System.Xml.Linq.XElement
parent NDG.DataAccessModels.Category
xmlDocument System.Xml.Linq.XDocument
return string

CreateImageQuestion() public static method

public static CreateImageQuestion ( System.Xml.Linq.XElement questionIterator, Category parent, System.Xml.Linq.XDocument xmlDocument ) : string
questionIterator System.Xml.Linq.XElement
parent NDG.DataAccessModels.Category
xmlDocument System.Xml.Linq.XDocument
return string

CreateIntegerQuestion() public static method

public static CreateIntegerQuestion ( System.Xml.Linq.XElement questionIterator, Category parent, System.Xml.Linq.XDocument xmlDocument ) : string
questionIterator System.Xml.Linq.XElement
parent NDG.DataAccessModels.Category
xmlDocument System.Xml.Linq.XDocument
return string

CreateMultipleChoiceQuestion() public static method

public static CreateMultipleChoiceQuestion ( System.Xml.Linq.XElement questionIterator, Category parent, System.Xml.Linq.XDocument xmlDocument ) : string
questionIterator System.Xml.Linq.XElement
parent NDG.DataAccessModels.Category
xmlDocument System.Xml.Linq.XDocument
return string

CreateTimeQuestion() public static method

public static CreateTimeQuestion ( System.Xml.Linq.XElement questionIterator, Category parent, System.Xml.Linq.XDocument xmlDocument ) : string
questionIterator System.Xml.Linq.XElement
parent NDG.DataAccessModels.Category
xmlDocument System.Xml.Linq.XDocument
return string

GetRelevantString() public static method

public static GetRelevantString ( System.Xml.Linq.XElement questionIterator, Category parent, System.Xml.Linq.XDocument xmlDocument ) : string
questionIterator System.Xml.Linq.XElement
parent NDG.DataAccessModels.Category
xmlDocument System.Xml.Linq.XDocument
return string