public interface InstanceWriter extends ExportProvider
PARAM_TARGET
PARAM_CHARSET, PARAM_CONTENT_TYPE
Modifier and Type | Method and Description |
---|---|
void |
checkCompatibility()
Validate the basic
InstanceWriter configuration, to determine if
the target schema (and instances if set) are compatible to the writer. |
SchemaSpace |
getTargetSchema()
Get the target schema.
|
List<? extends Locatable> |
getValidationSchemas()
Get the schemas needed for validation of the output written using
IOProvider.execute(ProgressIndicator) , this usually is at least the target
schema. |
void |
setInstances(InstanceCollection instances)
Set the instances to write.
|
void |
setTargetSchema(SchemaSpace targetSchema)
Set the target schema for the output.
|
getTarget, setTarget
createReporter, execute, getCharset, getContentType, getParameter, getSupportedParameters, isCancelable, loadConfiguration, setCharset, setContentType, setParameter, storeConfiguration, validate
void setInstances(InstanceCollection instances)
instances
- the instances to writevoid setTargetSchema(SchemaSpace targetSchema)
targetSchema
- the target schemaSchemaSpace getTargetSchema()
List<? extends Locatable> getValidationSchemas()
IOProvider.execute(ProgressIndicator)
, this usually is at least the target
schema.void checkCompatibility() throws IOProviderConfigurationException
InstanceWriter
configuration, to determine if
the target schema (and instances if set) are compatible to the writer.
Other parameters should be ignored for the check.IOProviderConfigurationException
- if the I/O provider was not
configured properlyBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a