public abstract class AbstractInstanceValidator extends GZipEnabledImport implements InstanceValidator
InstanceValidator
base implementationGZipEnabledImport.GZipInputSupplier
PARAM_RESOURCE_ID, PARAM_SOURCE
PARAM_CHARSET, PARAM_CONTENT_TYPE
Constructor and Description |
---|
AbstractInstanceValidator() |
Modifier and Type | Method and Description |
---|---|
protected Locatable[] |
getSchemas() |
void |
setSchemas(Locatable... schemas)
Set the schemas to be used for validation.
|
void |
validate()
Additionally fails if there are no schemas set
|
getSource
createReporter, execute, generateResourceId, getResourceIdentifier, setParameter, setSource, storeConfiguration
addSupportedParameter, execute, fail, getCharset, getContentType, getDefaultCharset, getDefaultTypeName, getParameter, getSupportedParameters, getTypeName, loadConfiguration, setCharset, setContentType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResourceIdentifier, getSource, setSource
createReporter, execute, getCharset, getContentType, getParameter, getSupportedParameters, isCancelable, loadConfiguration, setCharset, setContentType, setParameter, storeConfiguration
public void setSchemas(Locatable... schemas)
InstanceValidator
setSchemas
in interface InstanceValidator
schemas
- the validation schema locationsInstanceValidator.setSchemas(Locatable[])
protected Locatable[] getSchemas()
public void validate() throws IOProviderConfigurationException
validate
in interface IOProvider
validate
in class AbstractImportProvider
IOProviderConfigurationException
- if the I/O provider was not
configured properlyAbstractImportProvider.validate()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a