Class XMLTextDocumentService.SaveContext

    • Constructor Detail

      • SaveContext

        public SaveContext​(Object settings)
      • SaveContext

        public SaveContext​(String uri)
    • Method Detail

      • isRefreshCodeLenses

        public boolean isRefreshCodeLenses()
      • setRefreshCodeLenses

        public void setRefreshCodeLenses​(boolean isRefreshCodeLenses)
      • collectDocumentToValidate

        public void collectDocumentToValidate​(Predicate<DOMDocument> validateDocumentPredicate)
        Description copied from interface: ISaveContext
        This method is called to collect document to validate after the save.
      • getDocument

        public DOMDocument getDocument​(String uri)
        Description copied from interface: IXMLDocumentProvider
        Returns the DOMDocument instance from the given uri and null otherwise.
        Parameters:
        uri - the document URI.
        Returns:
        the DOMDocument instance from the given uri and null otherwise.
      • triggerValidationIfNeeded

        public void triggerValidationIfNeeded()