C# Class ConvertLib.Converter

Class used to convert WSDL files into generated Objective-C code.
Afficher le fichier Open project: amaechler/sudzc

Méthodes publiques

Méthode Description
Convert ( List &packages ) : DirectoryInfo

Converts the WSDL files to generated code in the output directory.

Convert ( List &packages, List &classes ) : DirectoryInfo

Converts the WSDL files to generated code in the output directory.

Convert ( ) : List

Converts the WSDL files to generated code in the output directory.

ConvertToPackage ( WsdlFile file ) : XmlDocument

Converts the WSDL file to a package XML document.

ConvertToPackages ( ) : List

Converts all WSDL files to package XML documents.

CreateArchive ( ) : FileInfo

Creates and archive of the generated code.

CreateArchive ( HttpContext context ) : FileInfo

Creates and archive of the generated code.

CreateArchive ( HttpContext context, string packageName ) : FileInfo

Creates and archive of the generated code.

GetPackageName ( List packages ) : string

Generates a package name.

GetPackageName ( string namespaceUri ) : string

Generates a package name.

MakeUUID ( long id ) : string

Creates a UUID for generating PBX files.

RemoveArchives ( System.TimeSpan olderThan ) : int

Removes old archives.

SaveIndexToDirectory ( XmlDocument document, DirectoryInfo directory ) : void

Saves the index XML file to the directory.

SavePackageToDirectory ( XmlDocument document, DirectoryInfo directory ) : string

Saves the package XML file to the directory.

Transform ( XmlDocument document ) : XmlDocument

Transforms the XmlDocument.

UpdateProjectFile ( DirectoryInfo directory ) : void

Updates the project file with the new code files.

Private Methods

Méthode Description
copyDirectory ( String source, String destination, System.Boolean overwrite ) : void

Copies one directory to another.

Method Details

Convert() public méthode

Converts the WSDL files to generated code in the output directory.
public Convert ( List &packages ) : DirectoryInfo
packages List Outputs the list of packages.
Résultat System.IO.DirectoryInfo

Convert() public méthode

Converts the WSDL files to generated code in the output directory.
public Convert ( List &packages, List &classes ) : DirectoryInfo
packages List Outputs the list of packages.
classes List Outputs the list of classes.
Résultat System.IO.DirectoryInfo

Convert() public méthode

Converts the WSDL files to generated code in the output directory.
public Convert ( ) : List
Résultat List

ConvertToPackage() public méthode

Converts the WSDL file to a package XML document.
public ConvertToPackage ( WsdlFile file ) : XmlDocument
file WsdlFile /// The to be converted. ///
Résultat System.Xml.XmlDocument

ConvertToPackages() public méthode

Converts all WSDL files to package XML documents.
public ConvertToPackages ( ) : List
Résultat List

CreateArchive() public méthode

Creates and archive of the generated code.
public CreateArchive ( ) : FileInfo
Résultat System.IO.FileInfo

CreateArchive() public méthode

Creates and archive of the generated code.
public CreateArchive ( HttpContext context ) : FileInfo
context System.Web.HttpContext /// The used to pass the ZIP file to the response. ///
Résultat System.IO.FileInfo

CreateArchive() public méthode

Creates and archive of the generated code.
public CreateArchive ( HttpContext context, string packageName ) : FileInfo
context System.Web.HttpContext /// The used to pass the ZIP file to the response. ///
packageName string The name of the package.
Résultat System.IO.FileInfo

GetPackageName() public static méthode

Generates a package name.
public static GetPackageName ( List packages ) : string
packages List The list of packages used to generate the name.
Résultat string

GetPackageName() public static méthode

Generates a package name.
public static GetPackageName ( string namespaceUri ) : string
namespaceUri string The URI of the namespace used to generate the name.
Résultat string

MakeUUID() public static méthode

Creates a UUID for generating PBX files.
public static MakeUUID ( long id ) : string
id long The ID to convert.
Résultat string

RemoveArchives() public méthode

Removes old archives.
public RemoveArchives ( System.TimeSpan olderThan ) : int
olderThan System.TimeSpan The time span used to determine which archives to be removed.
Résultat int

SaveIndexToDirectory() public méthode

Saves the index XML file to the directory.
public SaveIndexToDirectory ( XmlDocument document, DirectoryInfo directory ) : void
document System.Xml.XmlDocument /// The index to be saved. ///
directory System.IO.DirectoryInfo /// The where the generated code is saved. ///
Résultat void

SavePackageToDirectory() public méthode

Saves the package XML file to the directory.
public SavePackageToDirectory ( XmlDocument document, DirectoryInfo directory ) : string
document System.Xml.XmlDocument The to be saved.
directory System.IO.DirectoryInfo The where the generated code is saved.
Résultat string

Transform() public méthode

Transforms the XmlDocument.
public Transform ( XmlDocument document ) : XmlDocument
document System.Xml.XmlDocument The document to be transformed.
Résultat System.Xml.XmlDocument

UpdateProjectFile() public méthode

Updates the project file with the new code files.
public UpdateProjectFile ( DirectoryInfo directory ) : void
directory System.IO.DirectoryInfo The directory containing the project files to update.
Résultat void