Package org.eclipse.lemminx.services
Interface IXMLDocumentProvider
- All Known Subinterfaces:
ISaveContext
- All Known Implementing Classes:
AbstractSaveContext,XMLLanguageServer,XMLTextDocumentService.SaveContext
public interface IXMLDocumentProvider
DOMDocument provider.- Author:
- Angelo ZERR
-
Method Summary
Modifier and TypeMethodDescriptiondefault Collection<DOMDocument>All known documents XML server is working with at the momentgetDocument(String uri) Returns theDOMDocumentinstance from the givenuriand null otherwise.
-
Method Details
-
getDocument
Returns theDOMDocumentinstance from the givenuriand null otherwise.- Parameters:
uri- the document URI.- Returns:
- the
DOMDocumentinstance from the givenuriand null otherwise.
-
getAllDocuments
All known documents XML server is working with at the moment- Returns:
- XML documents
-