C# Class SemeionModulesDesigner.XmlSchemaParser.XmlParser

Inheritance: IXmlParser
ファイルを表示 Open project: janstafa/XsdFormEditor Class Usage Examples

Public Methods

Method Description
GetFilledXForm ( string xmlFileName, XForm xsdForm ) : XForm

Fills given XForm structure with data form given Xml file.

Private Methods

Method Description
Fill ( SemeionModulesDesigner.XmlSchemaParser.XsdModel.XContainer sourceContainer, XmlDocument xmlDoc ) : bool

Fill up given XContainer with data from Xml file.

FillChildNodes ( SemeionModulesDesigner.XmlSchemaParser.XsdModel.XContainer destinationContainer, SemeionModulesDesigner.XmlSchemaParser.XsdModel.XContainer sourceContainer, XmlElement xmlElement ) : void

Fill up child nodes of XContainer.

ResolveAttributes ( SemeionModulesDesigner.XmlSchemaParser.XsdModel.XContainer container, XmlElement xmlElement ) : void

Fill given XContainer attributes with data form Xml file.

ResolveElements ( SemeionModulesDesigner.XmlSchemaParser.XsdModel.XContainer container, XmlElement element ) : void

Fill given XContainer attributes with data form Xml file.

Method Details

GetFilledXForm() public method

Fills given XForm structure with data form given Xml file.
public GetFilledXForm ( string xmlFileName, XForm xsdForm ) : XForm
xmlFileName string Path to Xml file contains data.
xsdForm SemeionModulesDesigner.XmlSchemaParser.XsdModel.XForm XForm to be filled with data from Xml file.
return SemeionModulesDesigner.XmlSchemaParser.XsdModel.XForm