public interface ModelWriter
The implementation class specified by the connector descriptor must:
If you intent to write XML documents, the framework provides facilities you should consider.
Clients may implement this interface.
void write(String uri, Model model, ConnectorContext context) throws CoreException
The uri denotes a resource location to handle. The form of the uri depends on the connector kind. If this is a file connector, this uri is
expected to be a valid file path. If this is a "no uri" connector, this uri is expected to be
null or an empty
The specified model contains model elements to be persisted. Model elements can be retrieved from the model using
The context can be used to access a variery of properties and is to be used to check for cancellation.