public interface ISaveContext extends IXMLDocumentProvider
| Modifier and Type | Interface and Description |
|---|---|
static class |
ISaveContext.SaveContextType
The save context type:
DOCUMENT: a document is saved.
SETTINGS: a settings is saved.
|
| Modifier and Type | Method and Description |
|---|---|
void |
collectDocumentToValidate(Predicate<DOMDocument> validateDocumentPredicate)
This method is called to collect document to validate after the save.
|
Object |
getSettings()
Returns the settings which has changed and null otherwise.
|
ISaveContext.SaveContextType |
getType()
Returns the save context type.
|
String |
getUri()
Returns the document URI which was saved and null if it's a settings which
was saved.
|
getAllDocuments, getDocumentvoid collectDocumentToValidate(Predicate<DOMDocument> validateDocumentPredicate)
validateDocumentPredicate - ISaveContext.SaveContextType getType()
String getUri()
Object getSettings()
Copyright © 2023. All rights reserved.