DataDirect XML Converters 5.0 Send comments on this topic.
SchemaGenerator Interface
See Also  Members  
DDTek.XmlConverter Namespace : SchemaGenerator Interface




A SchemaGenerator is used to create XML Schema files which describe the structure of xml files read or created by a Converter, ConvertToXml or ConvertFromXml object.

Syntax

Visual Basic (Declaration) 
Public Interface SchemaGenerator 
Visual Basic (Usage)Copy Code
Dim instance As SchemaGenerator
C# 
public interface SchemaGenerator 
Managed Extensions for C++ 
public __gc __interface SchemaGenerator 
C++/CLI 
public interface class SchemaGenerator 

Remarks

The SchemaGenerator is created from a ConverterFactory using either of the ConverterFactory.CreateSchemaGenerator(String) overloads. The parameter to the CreateSchemaGenerator method describes the specific to XML or from XML conversion which will be performed.

Sometimes, a SchemaGenerator will need an instance of the native data file to create the correct XML Schema file, so all the methods in SchemaGenerator come in pairs. One of the methods has a Source parameter to provide the native data file while the other method of the pair has no Source parameter and is used when no native data file is required. The caller can determine whether a Source parameter is needed with the ConverterFactory.CreateSchemaGenerator(String) method.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.