Class XMLLanguageServer

    • Constructor Detail

      • XMLLanguageServer

        public XMLLanguageServer()
    • Method Detail

      • initialize

        public CompletableFuture<org.eclipse.lsp4j.InitializeResult> initialize​(org.eclipse.lsp4j.InitializeParams params)
        Specified by:
        initialize in interface org.eclipse.lsp4j.services.LanguageServer
      • initialized

        public void initialized​(org.eclipse.lsp4j.InitializedParams params)
        Specified by:
        initialized in interface org.eclipse.lsp4j.services.LanguageServer
      • updateSettings

        public void updateSettings​(Object initOptions)
        Update XML settings configured from the client.
        Parameters:
        initOptions - the XML settings
      • shutdown

        public CompletableFuture<Object> shutdown()
        Specified by:
        shutdown in interface org.eclipse.lsp4j.services.LanguageServer
      • exit

        public void exit()
        Specified by:
        exit in interface org.eclipse.lsp4j.services.LanguageServer
      • getTextDocumentService

        public org.eclipse.lsp4j.services.TextDocumentService getTextDocumentService()
        Specified by:
        getTextDocumentService in interface org.eclipse.lsp4j.services.LanguageServer
      • getWorkspaceService

        public org.eclipse.lsp4j.services.WorkspaceService getWorkspaceService()
        Specified by:
        getWorkspaceService in interface org.eclipse.lsp4j.services.LanguageServer
      • setClient

        public void setClient​(org.eclipse.lsp4j.services.LanguageClient languageClient)
      • getTelemetryManager

        public TelemetryManager getTelemetryManager()
        Returns the telemetry manager.
        Returns:
        the telemetry manager.
      • setTrace

        public void setTrace​(org.eclipse.lsp4j.SetTraceParams params)
        Specified by:
        setTrace in interface org.eclipse.lsp4j.services.LanguageServer
      • isWorkDoneProgressSupported

        public boolean isWorkDoneProgressSupported()
        Description copied from interface: ProgressSupport
        Returns true if the LSP client can support LSP progress and false otherwise.
        Specified by:
        isWorkDoneProgressSupported in interface ProgressSupport
        Returns:
        true if the LSP client can support LSP progress and false otherwise.
      • notifyProgress

        public void notifyProgress​(String progressId,
                                   org.eclipse.lsp4j.WorkDoneProgressNotification notification)
        Description copied from interface: ProgressSupport
        Notify the the progress notification with the given process id.
        Specified by:
        notifyProgress in interface ProgressSupport
        Parameters:
        progressId - the progress id.
        notification - the progress notification.