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