@Contract
public interface ConfigurationPersistence
Modifier and Type | Method and Description |
---|---|
void |
save(DomDocument doc)
callback when the new
DomDocument instance should be saved to an
external media like a file |
void save(DomDocument doc) throws IOException, XMLStreamException
DomDocument
instance should be saved to an
external media like a filedoc
- the new document instanceIOException
- if the file cannot be opened/written/closedXMLStreamException
- if the xml cannot be written out successfullyCopyright © 2020. All rights reserved.