public class XMLTextDocumentService.SaveContext extends AbstractSaveContext
ISaveContext.SaveContextType| Constructor and Description |
|---|
SaveContext(Object settings) |
SaveContext(String uri) |
| Modifier and Type | Method and Description |
|---|---|
void |
collectDocumentToValidate(Predicate<DOMDocument> validateDocumentPredicate)
This method is called to collect document to validate after the save.
|
DOMDocument |
getDocument(String uri)
Returns the
DOMDocument instance from the given uri and
null otherwise. |
boolean |
isRefreshCodeLenses() |
void |
setRefreshCodeLenses(boolean isRefreshCodeLenses) |
void |
triggerValidationIfNeeded() |
getSettings, getType, getUriclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllDocumentspublic SaveContext(Object settings)
public SaveContext(String uri)
public boolean isRefreshCodeLenses()
public void setRefreshCodeLenses(boolean isRefreshCodeLenses)
public void collectDocumentToValidate(Predicate<DOMDocument> validateDocumentPredicate)
ISaveContextpublic DOMDocument getDocument(String uri)
IXMLDocumentProviderDOMDocument instance from the given uri and
null otherwise.uri - the document URI.DOMDocument instance from the given uri and
null otherwise.public void triggerValidationIfNeeded()
Copyright © 2022. All rights reserved.