public interface WorkspaceXMLPersistenceProvider extends WorkspacePersistenceProvider
|Modifier and Type||Method and Description|
This is automatically called when a start element with the tag name provided in your
This is automatically called when saving a project file.
void writeXML(XMLStreamWriter writer, Workspace workspace)
Your implementation must enclose all your data xml in a tag with the name
provided in your
writer- XMLStreamWriter for xml serialization of this persistence provider data
workspace- Current workspace being serialized
void readXML(XMLStreamReader reader, Workspace workspace)
Your implementation must detect the tag end element to stop reading.
reader- XMLStreamReader for deserialization of this persistence provider data previously serialized
workspace- Current workspace being deserialized
Copyright © 2007–2017. All rights reserved.