Interface ISaveContext

All Superinterfaces:
IXMLDocumentProvider
All Known Implementing Classes:
AbstractSaveContext, XMLTextDocumentService.SaveContext

public interface ISaveContext extends IXMLDocumentProvider
Save context API.
  • Method Details

    • collectDocumentToValidate

      void collectDocumentToValidate(Predicate<DOMDocument> validateDocumentPredicate)
      This method is called to collect document to validate after the save.
      Parameters:
      validateDocumentPredicate -
    • getType

      Returns the save context type.
      Returns:
      the save context type.
    • getUri

      String getUri()
      Returns the document URI which was saved and null if it's a settings which was saved.
      Returns:
      the document URI which was saved and null if it's a settings which was saved.
    • getSettings

      Object getSettings()
      Returns the settings which has changed and null otherwise.
      Returns:
      the settings which has changed and null otherwise.