Interface IFileContentGenerator<Source,​Settings extends FileContentGeneratorSettings>

    • Method Detail

      • generate

        String generate​(Source document,
                        SharedSettings sharedSettings,
                        Settings generatorSettings,
                        IXMLFullFormatter formatter,
                        org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
        Generates a file content (ex : XSD, DTD) from the given document source document (ex: XML) by using the given settings generatorSettings.
        Parameters:
        document - the XML document source.
        sharedSettings - the shared settings.
        generatorSettings - the generator settings.
        formatter - the formatter.
        cancelChecker -
        Returns:
        the result of the generation of the file content (ex : XSD, DTD) from the given document source document (ex: XML) by using the given settings generatorSettings.